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)
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)
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
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
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)