diff options
Diffstat (limited to 'unmaintained/crconf/APKBUILD')
-rw-r--r-- | unmaintained/crconf/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/crconf/APKBUILD b/unmaintained/crconf/APKBUILD new file mode 100644 index 0000000000..07c25a37fd --- /dev/null +++ b/unmaintained/crconf/APKBUILD @@ -0,0 +1,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" |