aports/testing/crconf/APKBUILD
Natanael Copa 472d2fd3ac testing/crconf: new aport
Linux crypto layer configuration tool
http://sourceforge.net/projects/crconf/
2013-08-14 11:18:29 +00:00

42 lines
1022 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=crconf
pkgver=0_pre2
_ver=${pkgver/0_/}
pkgrel=0
pkgdesc="Linux crypto layer configuration tool"
url="http://sourceforge.net/projects/crconf/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/project/crconf/crconf-$_ver.tar.gz
"
_builddir="$srcdir"/crconf-$_ver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" SBINDIR="/usr/sbin"
}
md5sums="4b96e3fbd570d694ea25659a79a6db5c crconf-pre2.tar.gz"
sha256sums="15d39b599acda93a50f473190e702d593ba13613b6ed31711f3584b5726b81b8 crconf-pre2.tar.gz"
sha512sums="e4526626c71391968beafaf606bc477849ed11007bcfe4dd9b056bdbd08d19dce41b18418693fd5d2fab29f618e3fdad3ec4f4f2ea269207443e94e7552b4daa crconf-pre2.tar.gz"