]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
flex: Remove unneeded library.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Nov 2010 00:56:44 +0000 (01:56 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Nov 2010 00:56:44 +0000 (01:56 +0100)
(gcc-c++ was added for testsuite.)

pkgs/core/flex/flex.nm

index 90e953b3a4238d8783d1a6cf35ad90e2c3c54257..0dd33fbed4029e386c6f9cdc35c3e2f94ccd080b 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = flex
 PKG_VER        = 2.5.35
-PKG_REL        = 0
+PKG_REL        = 1
 
 PKG_MAINTAINER =
 PKG_GROUP      = Development/Tools
@@ -34,11 +34,9 @@ PKG_URL        = http://flex.sourceforge.net/
 PKG_LICENSE    = BSD
 PKG_SUMMARY    = A tool for creating scanners (text pattern recognizers).
 
-PKG_BUILD_DEPS+= bison m4
+PKG_BUILD_DEPS+= bison gcc-c++ m4
 PKG_DEPS      += m4
 
-# XXX possibly we can remove libfl_pic and things in /usr/include
-
 define PKG_DESCRIPTION
        The flex program generates scanners. Scanners are programs which can \
        recognize lexical patterns in text. Flex takes pairs of regular \
@@ -64,4 +62,6 @@ define STAGE_INSTALL_CMDS
        echo "#!/bin/sh"                        >  $(BUILDROOT)/usr/bin/lex
        echo "exec /usr/bin/flex -l \"$$@\""    >> $(BUILDROOT)/usr/bin/lex
        chmod 755 $(BUILDROOT)/usr/bin/lex
+
+       rm -rvf $(BUILDROOT)/usr/{include,lib}
 endef