summaryrefslogtreecommitdiffstats
path: root/testing/crconf/APKBUILD
blob: 07c25a37fd65dcf6c1419d4f8c15abc5e004f0b0 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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"