]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
bison: Clean up naoki-makefile.
authorSchantl Stefan <Stevee@ipfire.org>
Mon, 15 Mar 2010 21:50:37 +0000 (22:50 +0100)
committerSchantl Stefan <Stevee@ipfire.org>
Mon, 15 Mar 2010 21:50:37 +0000 (22:50 +0100)
pkgs/core/bison/bison.nm

index 065442e917c249a7dacc56e97a18ec0eb27d04a9..31ef43c8eaa6521392a2b7d2a5c9f4ac31d7ae21 100644 (file)
@@ -41,17 +41,8 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       --prefix=/usr
-
+define STAGE_CONFIGURE_CMDS
        cd $(DIR_APP) && echo '#define YYENABLE_NLS 1' >> lib/config.h
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
 endef
 
 # fails
@@ -59,9 +50,7 @@ endef
 #      cd $(DIR_APP) && make check
 #endef
 
-define STAGE_INSTALL
-       cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
-
+define STAGE_INSTALL_CMDS
        -mkdir -pv $(BUILDROOT)/usr/lib
        cd $(DIR_APP)/lib && gcc -shared -Wl,-soname,liby.so.$(PKG_VER) \
                -o liby.so.$(PKG_VER) $(CFLAGS) main.o yyerror.o