From: Schantl Stefan Date: Fri, 26 Feb 2010 11:07:13 +0000 (+0100) Subject: flex: Fix layout of makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce85b8d93cf0c5549ec61d93c05b71bef3b16784;p=ipfire-3.x.git flex: Fix layout of makefile. --- diff --git a/pkgs/core/flex/flex.nm b/pkgs/core/flex/flex.nm index 3874f324e..78b540ac0 100644 --- a/pkgs/core/flex/flex.nm +++ b/pkgs/core/flex/flex.nm @@ -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