]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
flex: Fix layout of makefile.
authorSchantl Stefan <Stevee@ipfire.org>
Fri, 26 Feb 2010 11:07:13 +0000 (12:07 +0100)
committerSchantl Stefan <Stevee@ipfire.org>
Fri, 26 Feb 2010 11:07:13 +0000 (12:07 +0100)
pkgs/core/flex/flex.nm

index 3874f324edb41545e0d85093cea431a09a758bc5..78b540ac004674bd10845793c536ac82ca86bb24 100644 (file)
@@ -50,22 +50,10 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       --prefix=/usr \
-                       --disable-static \
-                       --mandir=/usr/share/man
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
+CONFIGURE_OPTIONS += \
+       --mandir=/usr/share/man
 
-define STAGE_INSTALL
-       cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
+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