aboutsummaryrefslogtreecommitdiffstats
path: root/main/p11-kit
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-16 15:55:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-16 15:55:52 +0000
commit653bd7ce2cfa36489f768afb8534560e85e4c416 (patch)
tree456a408585e6f60bde46198e92ba64987f1d82ad /main/p11-kit
parent4a1f1e10bb0e662ff98bcf587a8594a192de4234 (diff)
downloadaports-653bd7ce2cfa36489f768afb8534560e85e4c416.tar.bz2
aports-653bd7ce2cfa36489f768afb8534560e85e4c416.tar.xz
main/p11-kit: moved from testing
gnutls needs it
Diffstat (limited to 'main/p11-kit')
-rw-r--r--main/p11-kit/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/main/p11-kit/APKBUILD b/main/p11-kit/APKBUILD
new file mode 100644
index 0000000000..537ea51f4e
--- /dev/null
+++ b/main/p11-kit/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=p11-kit
+pkgver=0.9
+pkgrel=0
+pkgdesc="Library for loading and sharing PKCS#11 modules"
+url="http://p11-glue.freedesktop.org/"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://p11-glue.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$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 \
+ --mandir=/usr/share/man \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="029aa2a3a103e7eb81b4aa731b93539e p11-kit-0.9.tar.gz"