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