New package: p11-kit-0.7.

This commit is contained in:
Juan RP 2011-09-28 18:34:04 +02:00
parent 1621f8bc4c
commit 9e6dcc2c7c
5 changed files with 47 additions and 0 deletions

1
srcpkgs/p11-kit-devel Symbolic link
View File

@ -0,0 +1 @@
p11-kit

2
srcpkgs/p11-kit/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=0.7"
api_depends="${abi_depends}"

View File

@ -0,0 +1,17 @@
# Template file for 'p11-kit-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run p11-kit
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}

26
srcpkgs/p11-kit/template Normal file
View File

@ -0,0 +1,26 @@
# Template file for 'p11-kit'
pkgname=p11-kit
version=0.7
homepage="http://p11-glue.freedesktop.org"
distfiles="$homepage/releases/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Provides a way to load and enumerate PKCS#11 modules"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
checksum=965220495d9db38a1f5f8a50812f19f04cd2091f394f5516952de478d83448ee
long_desc="
Provides a standard configuration setup for installing PKCS#11 modules in
such a way that they're discoverable.
Also solves problems with coordinating the use of PKCS#11 by different
components or libraries living in the same process."
conf_files="/etc/pkcs11/pkcs11.conf"
subpackages="$pkgname-devel"
Add_dependency run glibc
post_install()
{
mv ${DESTDIR}/${conf_files}.example ${DESTDIR}/${conf_files}
}

View File

@ -836,3 +836,4 @@ libcheese-gtk.so.20 cheese cheese-devel
libjson.so json-c json-c-devel
libcogl.so cogl cogl-devel
libcogl-pango.so cogl cogl-devel
libp11-kit.so p11-kit p11-kit-devel