Commit 5c904717 authored by Timo Teräs's avatar Timo Teräs

[all autotools packages]: normalize ./configure

parent a8798394
......@@ -36,10 +36,14 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc/a2ps \
--includedir=/usr/include \
--disable-nls || return 1
--disable-nls \
|| return 1
make
}
......
......@@ -27,7 +27,10 @@ prepare() {
build ()
{
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-shared \
|| return 1
make || return 1
......
......@@ -46,7 +46,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-shared \
--disable-static \
--enable-plugins \
......
......@@ -25,10 +25,14 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
# seems like this makefile does not respect DESTDIR
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir="$pkgdir"/usr/share/man \
--infodir="$pkgdir"/usr/share/info \
--enable-linux-multiformat
--enable-linux-multiformat \
|| return 1
make LDADD="-lm lib/libgnu.la" || return 1
}
......
......@@ -29,7 +29,10 @@ build() {
unset PLATFORM
export OPTIMIZER="${CFLAGS}"
export DEBUG=-DNDEBUG
CONFIG_SHELL=/bin/sh ./configure --prefix=/usr \
CONFIG_SHELL=/bin/sh ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--libdir=/lib \
--libexecdir=/usr/lib \
--disable-gettext \
......
......@@ -41,7 +41,10 @@ build() {
if [ "$ALPINE_LIBC" != "eglibc" ]; then
export LDFLAGS="$LDFLAGS -liconv"
fi
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
......
......@@ -37,12 +37,16 @@ prepare() {
build() {
cd "$_builddir"
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--without-passfile \
--without-tcl \
--disable-shared \
--with-system-pinerc=/etc/alpine.d/pine.conf \
--with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed
--with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed \
|| return 1
make
}
......
......@@ -11,7 +11,10 @@ subpackages="$pkgname-dev"
source="http://alsa.cybermirror.org/lib/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-python \
--disable-static \
--disable-resmgr \
......
......@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-xmlto \
--disable-nls \
|| return 1
......
......@@ -29,10 +29,14 @@ prepare() {
build() {
cd $srcdir/$_pkgname-$pkgver
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-krb5=/usr \
--without-krb4 \
--with-apache=/usr
--with-apache=/usr \
|| return 1
make -j1 || return 1
}
......
......@@ -37,7 +37,10 @@ prepare() {
build() {
cd "$srcdir"/httpd-$pkgver
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-layout=Alpine \
--enable-so \
--enable-suexec \
......@@ -52,15 +55,19 @@ build() {
--with-pcre=/usr \
--enable-mods-shared=all \
--enable-mpms-shared=all \
--enable-ssl --with-ssl \
--enable-ssl \
--with-ssl \
--enable-proxy \
--enable-cache \
--enable-disk-cache \
--enable-mem-cache \
--enable-file-cache \
--enable-ldap --enable-authnz-ldap \
--enable-cgid --enable-cgi \
--enable-authn-anon --enable-authn-alias \
--enable-ldap \
--enable-authnz-ldap \
--enable-cgid \
--enable-cgi \
--enable-authn-anon \
--enable-authn-alias \
--disable-imagemap \
--enable-proxy-connect \
--enable-proxy-http \
......
......@@ -22,10 +22,14 @@ build() {
export LANG="C"
ac_cv_path_SHUTDOWN="/sbin/poweroff" \
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-usb \
--enable-snmp
--enable-snmp \
|| return 1
make || return 1
}
......
......@@ -17,7 +17,10 @@ source="http://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-apr=/usr \
--with-ldap \
--with-pgsql \
......
......@@ -21,10 +21,14 @@ prepare() {
build() {
cd "$_builddir"
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--datadir=/usr/share \
--enable-nonportable-atomics \
--with-devrandom=/dev/urandom
--with-devrandom=/dev/urandom \
|| return 1
make || return 1
}
......
......@@ -26,7 +26,11 @@ prepare() {
}
build() {
cd "$_builddir"
./configure --prefix=/usr
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
......
......@@ -27,7 +27,10 @@ prepare() {
build() {
cd "$_builddir"
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-nls \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
|| return 1
......
......@@ -53,10 +53,14 @@ prepare() {
build() {
cd $_builddir
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
--infodir=/usr/share/info \
|| return 1
make -j1 || return 1
}
......
......@@ -25,7 +25,10 @@ prepare() {
build() {
cd "$_builddir"
./configure --prefix=/usr \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
......
......@@ -13,7 +13,10 @@ source="ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-$pkgver-0.tar.bz2"
_builddir="$srcdir"/aspell6-en-$pkgver-0
build () {
cd "$_builddir"
./configure || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
|| return 1
make || return 1
}
......
......@@ -16,7 +16,11 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
# we want add -lm to linker flag for libaspell so wil build that
# separately. this is just an ugly workaround
......