aboutsummaryrefslogtreecommitdiffstats
path: root/main/cryptsetup/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-04 21:05:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-04 21:07:17 +0000
commitc9bcb2b4add263c396df95b52fafcb7a459ead74 (patch)
tree7527d7eab82ee943ad1f0bcd4c218c3b50620201 /main/cryptsetup/APKBUILD
parenta8e34c5d98e0ad8643ff91b174e93f059902777e (diff)
downloadaports-c9bcb2b4add263c396df95b52fafcb7a459ead74.tar.bz2
aports-c9bcb2b4add263c396df95b52fafcb7a459ead74.tar.xz
main/cryptosetup: moved from testing
Diffstat (limited to 'main/cryptsetup/APKBUILD')
-rw-r--r--main/cryptsetup/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD
new file mode 100644
index 0000000000..887d15d3ed
--- /dev/null
+++ b/main/cryptsetup/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=cryptsetup
+pkgver=1.1.0
+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/"
+license="GPL"
+depends=
+makedepends="lvm2-dev libgcrypt-dev popt-dev util-linux-ng-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --disable-static \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
+md5sums="8177f1833f4d6aaacc5812046d2010b6 cryptsetup-1.1.0.tar.bz2"