]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - flex/flex.nm
filesystem: Make package work on x86_64.
[people/amarx/ipfire-3.x.git] / flex / flex.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
802ea3af
MT
6name = flex
7version = 2.5.35
6ea90115 8release = 3
166a6c21 9
802ea3af
MT
10groups = Development/Tools
11url = http://flex.sourceforge.net/
12license = BSD
13summary = A tool for creating scanners (text pattern recognizers).
166a6c21 14
802ea3af 15description
166a6c21
MT
16 The flex program generates scanners. Scanners are programs which can \
17 recognize lexical patterns in text. Flex takes pairs of regular \
18 expressions and C code as input and generates a C source file as \
19 output. The output file is compiled and linked with a library to \
20 produce an executable. The executable searches through its input for \
21 occurrences of the regular expressions. When a match is found, it \
22 executes the corresponding C code. Flex was designed to work with \
23 both Yacc and Bison, and is used by many programs as part of their \
24 build process.
802ea3af
MT
25end
26
27source_dl =
28sources = %{thisapp}.tar.bz2
29
30build
31 requires
32 bison
33 gcc-c++
34 m4
35 end
36
6ea90115
MT
37 keep_libraries = /usr/lib/libfl_pic.a
38
802ea3af
MT
39 configure_options += \
40 --mandir=/usr/share/man
41
42 test
43 make check
44 end
45
46 install_cmds
47 echo "#!/bin/sh" > %{BUILDROOT}/usr/bin/lex
48 echo "exec /usr/bin/flex -l \"$$@\"" >> %{BUILDROOT}/usr/bin/lex
49 chmod 755 %{BUILDROOT}/usr/bin/lex
50 end
51end
52
53packages
54 package %{name}
55 requires = m4
56 end
1f9bc2f0 57
802ea3af
MT
58 package %{name}-devel
59 template DEVEL
60 end
1f9bc2f0
MT
61
62 package %{name}-debuginfo
63 template DEBUGINFO
64 end
802ea3af 65end