aboutsummaryrefslogtreecommitdiffstats
path: root/main/crconf/APKBUILD
blob: 42485109155f28ab9cd744f5c5a6d0b5a537c506 (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
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=crconf
pkgver=0_pre2
_realver=pre2
pkgrel=0
pkgdesc="Linux crypto layer configuration tool"
url="http://sourceforge.net/projects/crconf/"
arch="all"
license="GPLv2"
depends=""
makedepends="linux-headers"
subpackages=""
source="http://downloads.sourceforge.net/project/crconf/crconf-$_realver.tar.gz
	"

_builddir="$srcdir"/$pkgname-$_realver

prepare() {
	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 -j1 DESTDIR="$pkgdir" install
}

md5sums="4b96e3fbd570d694ea25659a79a6db5c  crconf-pre2.tar.gz"
sha256sums="15d39b599acda93a50f473190e702d593ba13613b6ed31711f3584b5726b81b8  crconf-pre2.tar.gz"
sha512sums="e4526626c71391968beafaf606bc477849ed11007bcfe4dd9b056bdbd08d19dce41b18418693fd5d2fab29f618e3fdad3ec4f4f2ea269207443e94e7552b4daa  crconf-pre2.tar.gz"