]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
bc: Clean up naoki-makefile.
authorSchantl Stefan <Stevee@ipfire.org>
Mon, 15 Mar 2010 10:44:55 +0000 (11:44 +0100)
committerSchantl Stefan <Stevee@ipfire.org>
Mon, 15 Mar 2010 10:44:55 +0000 (11:44 +0100)
pkgs/core/bc/bc.nm

index ed3cc13d5d09560816eb8cd45a909163ca83b3e2..d9cefaeeef505c55838a97be80cc2923655b9702 100644 (file)
@@ -44,10 +44,6 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.gz
 
-###############################################################################
-# Installation Details
-###############################################################################
-
 define STAGE_PREPARE_CMDS
        cd $(DIR_APP) && sed -i '/PROTO.*readline/d' bc/scan.l
        cd $(DIR_APP) && sed -i '/flex -I8/s/8//' configure
@@ -55,12 +51,6 @@ define STAGE_PREPARE_CMDS
        cd $(DIR_APP) && sed -i 's/program.*save/static &/' bc/load.c
 endef
 
-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 \
+       --disable-static