From: Schantl Stefan Date: Mon, 15 Mar 2010 21:50:37 +0000 (+0100) Subject: bison: Clean up naoki-makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cf5d4a9f52ece5aa8e8d93a9bb36b86b9610ae5;p=ipfire-3.x.git bison: Clean up naoki-makefile. --- diff --git a/pkgs/core/bison/bison.nm b/pkgs/core/bison/bison.nm index 065442e91..31ef43c8e 100644 --- a/pkgs/core/bison/bison.nm +++ b/pkgs/core/bison/bison.nm @@ -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