From: Michael Tremer Date: Wed, 2 Dec 2009 17:10:55 +0000 (+0100) Subject: Make some packages use the CONFIGURE_OPTIONS feature. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1913f3ed8452836dfb5e5e4ffa9c086b5118dbcd;p=ipfire-3.x.git Make some packages use the CONFIGURE_OPTIONS feature. --- diff --git a/pkgs/core/cyrus-sasl/cyrus-sasl.nm b/pkgs/core/cyrus-sasl/cyrus-sasl.nm index 5f88ffc00..682e74439 100644 --- a/pkgs/core/cyrus-sasl/cyrus-sasl.nm +++ b/pkgs/core/cyrus-sasl/cyrus-sasl.nm @@ -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) diff --git a/pkgs/core/glib2/glib2.nm b/pkgs/core/glib2/glib2.nm index 2b5369b12..76608ac15 100644 --- a/pkgs/core/glib2/glib2.nm +++ b/pkgs/core/glib2/glib2.nm @@ -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) diff --git a/pkgs/core/less/less.nm b/pkgs/core/less/less.nm index c8fbd4c4a..b17d8ce54 100644 --- a/pkgs/core/less/less.nm +++ b/pkgs/core/less/less.nm @@ -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 diff --git a/pkgs/core/lzo/lzo.nm b/pkgs/core/lzo/lzo.nm index a09804b42..2d6e082cc 100644 --- a/pkgs/core/lzo/lzo.nm +++ b/pkgs/core/lzo/lzo.nm @@ -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 diff --git a/pkgs/core/pcre/pcre.nm b/pkgs/core/pcre/pcre.nm index 5b577bc60..4edc01d61 100644 --- a/pkgs/core/pcre/pcre.nm +++ b/pkgs/core/pcre/pcre.nm @@ -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)