aboutsummaryrefslogtreecommitdiffstats
path: root/main/cryptsetup/APKBUILD
blob: 6bbf821628761e3fe2a6ba58a2aa87bf90d12990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cryptsetup
pkgver=1.1.3
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="x86 x86_64"
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="318a64470861ea5b92a52f2014f1e7c1  cryptsetup-1.1.3.tar.bz2"