]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Make some packages use the CONFIGURE_OPTIONS feature.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Dec 2009 17:10:55 +0000 (18:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Dec 2009 17:10:55 +0000 (18:10 +0100)
pkgs/core/cyrus-sasl/cyrus-sasl.nm
pkgs/core/glib2/glib2.nm
pkgs/core/less/less.nm
pkgs/core/lzo/lzo.nm
pkgs/core/pcre/pcre.nm

index 5f88ffc0072ec2e412b4da1c21d55ffd2cec2728..682e74439ddbdcaa5c967d7fc6c7753f67731b11 100644 (file)
@@ -46,22 +46,14 @@ PKG_TARBALL    = $(THISAPP).tar.gz
 
 PKG_PATCHES   += $(THISAPP)-bad-elif.patch
 
+CONFIGURE_OPTIONS += --sysconfdir=/etc \
+       --with-dbpath=/var/lib/sasl/sasldb2 \
+       --with-saslauthd=/var/run/saslauthd
+
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       $(CONFIGURE_ARCH) \
-                       --prefix=/usr \
-                       --sysconfdir=/etc \
-                       --with-dbpath=/var/lib/sasl/sasldb2 \
-                       --with-saslauthd=/var/run/saslauthd
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
-
 define STAGE_INSTALL
        cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
 
index 2b5369b12f7b6e26986028f752db5ea804d054c5..76608ac15f4652d43697b1c9a037b0cf36cb863c 100644 (file)
@@ -47,20 +47,12 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
+CONFIGURE_OPTIONS += --with-pcre=system
+
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       $(CONFIGURE_ARCH) \
-                       --prefix=/usr \
-                       --with-pcre=system
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
-
 define STAGE_INSTALL
        cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
        
index c8fbd4c4a2b96bec5c584d81ae4b06f9c205832c..b17d8ce54ff12aeb6512cae60b573bba37f2776a 100644 (file)
@@ -46,17 +46,4 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.gz
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       $(CONFIGURE_ARCH) \
-                       --prefix=/usr \
-                       --with-secure \
-                       --with-regex=pcre
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
+CONFIGURE_OPTIONS += --with-secure --with-regex=pcre
index a09804b422dc3926935386d7f774fd7c7a64b018..2d6e082ccf7b96b3c14002ef51f07bb2188b9887 100644 (file)
@@ -46,17 +46,4 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.gz
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       $(CONFIGURE_ARCH) \
-                       --prefix=/usr \
-                       --enable-shared \
-                       --disable-static
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
+CONFIGURE_OPTIONS += --disable-static --enable-shared
index 5b577bc60521cd5ef8497047ef2b6336dcae2b7c..4edc01d616f57e512fa049857215ff8a87a224df 100644 (file)
@@ -44,24 +44,16 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
+CONFIGURE_OPTIONS += --docdir=/usr/share/doc/pcre-$(PKG_VER) \
+       --enable-utf8 \
+       --enable-pcregrep-libz \
+       --enable-pcregrep-libbz2 \
+       --enable-unicode-properties
+
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       $(CONFIGURE_ARCH) \
-                       --prefix=/usr \
-                       --docdir=/usr/share/doc/pcre-$(PKG_VER) \
-                       --enable-utf8 \
-                       --enable-pcregrep-libz \
-                       --enable-pcregrep-libbz2 \
-                       --enable-unicode-properties
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
-
 define STAGE_INSTALL
        cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)