diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-14 12:22:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-15 08:56:40 +0000 |
commit | da5ab643c3af9fd01440d292917f1403734cc272 (patch) | |
tree | e91ee6d4f02f4c59b3f62c092722bf75a73d49d5 /main | |
parent | 7d6341b1f81184fc85f9b5b6bfa3f003ffa5adbe (diff) | |
download | aports-da5ab643c3af9fd01440d292917f1403734cc272.tar.bz2 aports-da5ab643c3af9fd01440d292917f1403734cc272.tar.xz |
main/librpcsecgss: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/librpcsecgss/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/main/librpcsecgss/APKBUILD b/main/librpcsecgss/APKBUILD new file mode 100644 index 0000000000..f6ee20aa11 --- /dev/null +++ b/main/librpcsecgss/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=librpcsecgss +pkgver=0.19 +pkgrel=0 +pkgdesc="Library for RPCSECGSS support" +url="http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss" +arch="all" +license="GPL" +depends="" +depends_dev="libgssglue-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/librpcsecgss-$pkgver.tar.gz" + +_builddir="$srcdir"/librpcsecgss-$pkgver +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" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="b45ed565bdc3099023aa35830ec92997 librpcsecgss-0.19.tar.gz" +sha256sums="0cafb86b67e5eb4c89e8abaaad9165298946bc164d258e8925fc6dc1fa913abd librpcsecgss-0.19.tar.gz" +sha512sums="f492f26ebfc6bde007b0b06554dd9075786c1f7562add911cffcc892b3f34698a2f9847b399df828ff0665a906ef17192df070f7b70d32a2ce709291a7492620 librpcsecgss-0.19.tar.gz" |