aboutsummaryrefslogtreecommitdiffstats
path: root/testing/strongswan
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-10-28 07:52:27 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-10-28 07:53:04 +0000
commitdcf651a483101f741cd7e9d86c910c464fb87927 (patch)
tree851dba5f5e6c1d7d9120b2777d5f0385b21f628b /testing/strongswan
parent465508790265361b8ca65d1ece76c18a0d5c8621 (diff)
downloadaports-dcf651a483101f741cd7e9d86c910c464fb87927.tar.bz2
aports-dcf651a483101f741cd7e9d86c910c464fb87927.tar.xz
aports/testing: cleanup and remove .la files
Diffstat (limited to 'testing/strongswan')
-rw-r--r--testing/strongswan/APKBUILD62
1 files changed, 41 insertions, 21 deletions
diff --git a/testing/strongswan/APKBUILD b/testing/strongswan/APKBUILD
index 4f7cede2f5..e89a401886 100644
--- a/testing/strongswan/APKBUILD
+++ b/testing/strongswan/APKBUILD
@@ -1,4 +1,4 @@
-# Contributor:
+# Contributor: Jesse Young <jlyo@jlyo.org>
# Maintainer:
pkgname=strongswan
pkgver=4.5.2
@@ -8,13 +8,13 @@ url="http://www.strongswan.org/"
arch="all"
license="GPL-2 RSA-MD5 RSA-PKCS11 DES"
depends="iproute2 openssl"
-depends_dev=
-makedepends="sqlite-dev openssl-dev curl-dev gmp-dev $depends_dev"
+depends_dev="sqlite-dev openssl-dev curl-dev gmp-dev"
+makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.strongswan.org/$pkgname-$pkgver.tar.bz2 adns.patch strongswan.initd"
-_builddir=
+_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$srcdir/$pkgname-$pkgver"
@@ -26,29 +26,49 @@ prepare() {
}
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --with-ipsecdir=/usr/lib/strongswan \
- --enable-pluto \
- --enable-sqlite --enable-smartcard --enable-cisco-quirks \
- --enable-openssl --enable-curl \
- --enable-sql --enable-attr-sql \
- --enable-farp --enable-dhcp \
- --enable-eap-sim --enable-eap-sim-file --enable-eap-simaka-pseudonym \
- --enable-eap-simaka-reauth --enable-eap-identity --enable-eap-md5 \
- --disable-eap-gtc --enable-eap-aka --enable-eap-aka-3gpp2 \
- --enable-eap-mschapv2 --enable-eap-radius \
- --enable-ha \
- --disable-mysql --disable-ldap \
- --disable-static --enable-shared || return 1
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --with-ipsecdir=/usr/lib/strongswan \
+ --enable-pluto \
+ --enable-sqlite \
+ --enable-smartcard \
+ --enable-cisco-quirks \
+ --enable-openssl \
+ --enable-curl \
+ --enable-sql \
+ --enable-attr-sql \
+ --enable-farp \
+ --enable-dhcp \
+ --enable-eap-sim \
+ --enable-eap-sim-file \
+ --enable-eap-simaka-pseudonym \
+ --enable-eap-simaka-reauth \
+ --enable-eap-identity \
+ --enable-eap-md5 \
+ --disable-eap-gtc \
+ --enable-eap-aka \
+ --enable-eap-aka-3gpp2 \
+ --enable-eap-mschapv2 \
+ --enable-eap-radius \
+ --enable-ha \
+ --disable-mysql \
+ --disable-ldap \
+ --disable-static \
+ --enable-shared || return 1
make || return 1
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
- install -m755 -D "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
+ install -m755 -D "$srcdir/$pkgname.initd" \
+ "$pkgdir/etc/init.d/$pkgname"
+ rm "$pkgdir"/usr/lib/strongswan/plugins/*.la || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="ac33b8f849a274127f84df0838cae953 strongswan-4.5.2.tar.bz2
-64e8242e866ff9a99bdfae17d5d81e2a adns.patch
+8f02d0e582ac9ac60c28e465b626481d adns.patch
fb9822512d02f521af8812db22a5175e strongswan.initd"