aboutsummaryrefslogblamecommitdiffstats
path: root/main/cryptsetup/APKBUILD
blob: 3df4f60f33582f4920ffbe078b61506907c569dc (plain) (tree)
1
2
3
4
5
6
7

                                                   
            
        

                                                                                                        
          








                                                                      

                                  






                                     
                                                                    
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cryptsetup
pkgver=1.2.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/"
arch="all"
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="b4ac29d3d8b4771a457a8ceaa8c6aa13  cryptsetup-1.2.0.tar.bz2"