updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / opencryptoki / PKGBUILD
blobf68f1416f3e3e5a64e54919a129f47dfb762f8c9
1 # Maintainer: Gavin Lloyd <gavinhungry@gmail.com>
2 # Contributor: VuDu <vudu.curse@gmail.com>
4 pkgname=opencryptoki
5 pkgver=2.4
6 pkgrel=9
7 pkgdesc="PKCS11 implementation for Linux"
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/opencryptoki"
10 license=('CPL' 'GPL')
11 install=${pkgname}.install
12 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
13         ${pkgname}.install
14         pkcsslotd)
15 md5sums=('1c834a4c7380a352319cb47b99fc6157'
16          'efd34785cb205c8253b21b252b53e007'
17          '067897017df490451a3df2fb847c808d')
19 build() {
20   cd ${srcdir}/${pkgname}-${pkgver}
21   ./bootstrap.sh
22   ./configure --prefix=/usr
23   make
26 package() {
27   cd ${srcdir}/${pkgname}-${pkgver}
28   make DESTDIR=${pkgdir} install
29   install -Dm755 ${srcdir}/pkcsslotd ${pkgdir}/etc/rc.d//pkcsslotd