mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 01:34:37 +08:00
32 lines
654 B
Bash
32 lines
654 B
Bash
pkgname=p11-kit
|
|
pkgver=0.21.3
|
|
pkgrel=2
|
|
pkgdesc="Library to work with PKCS#11 modules"
|
|
arch=(i686 x86_64)
|
|
url="http://p11-glue.freedesktop.org"
|
|
license=('BSD')
|
|
depends=('glibc' 'libtasn1' 'libffi')
|
|
source=($url/releases/$pkgname-$pkgver.tar.gz{,.sig})
|
|
md5sums=('6db518aa96f929182ee4d364f4f0c5df'
|
|
'SKIP')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--with-module-path=/usr/lib/pkcs11
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|