diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/cryptsetup/APKBUILD | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD index 54fb18f288..67df36df59 100644 --- a/main/cryptsetup/APKBUILD +++ b/main/cryptsetup/APKBUILD @@ -1,20 +1,23 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cryptsetup -pkgver=1.3.0 +pkgver=1.3.1 pkgrel=0 pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi" url="http://code.google.com/p/cryptsetup/" arch="all" license="GPL" depends= -makedepends="lvm2-dev libgcrypt-dev popt-dev util-linux-ng-dev" -subpackages="$pkgname-dev $pkgname-doc" +makedepends="lvm2-dev openssl-dev popt-dev util-linux-ng-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ + --libdir=/lib \ + --sbindir=/sbin \ --disable-static \ + --with-crypto_backend=openssl \ || return 1 make || return 1 } @@ -23,4 +26,11 @@ package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR=$pkgdir install } -md5sums="d2bc0fd59c1118ec3bfae099af38d333 cryptsetup-1.3.0.tar.bz2" + +libs() { + pkgdesc="Cryptsetup shared library" + mkdir -p "$subpkgdir" + mv "$pkgdir"/lib "$subpkgdir"/ +} + +md5sums="1f5b5a9d538e8a3c191fb7dd85b9b013 cryptsetup-1.3.1.tar.bz2" |