diff options
-rw-r--r-- | main/crconf/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/crconf/APKBUILD b/main/crconf/APKBUILD new file mode 100644 index 0000000000..34503be6c6 --- /dev/null +++ b/main/crconf/APKBUILD @@ -0,0 +1,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="" +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" |