2011-07-04 20:46:28 +08:00
|
|
|
#
|
|
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-06-16 02:24:40 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
2010-03-13 23:25:19 +08:00
|
|
|
|
|
|
|
pkgname=libgcrypt
|
2011-07-03 17:20:16 +08:00
|
|
|
pkgver=1.5.0
|
2012-06-16 02:24:40 +08:00
|
|
|
pkgrel=3
|
2010-03-13 23:25:19 +08:00
|
|
|
pkgdesc="a general purpose crypto library based on the code used"
|
2011-07-03 17:20:16 +08:00
|
|
|
arch=('i686' 'x86_64')
|
2010-03-13 23:25:19 +08:00
|
|
|
url="http://www.gnupg.org"
|
|
|
|
license=('LGPL')
|
2011-07-03 17:20:16 +08:00
|
|
|
depends=('libgpg-error>=1.8')
|
2010-03-13 23:25:19 +08:00
|
|
|
options=(!libtool)
|
2011-07-03 17:20:16 +08:00
|
|
|
source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
|
|
|
sha1sums=('3e776d44375dc1a710560b98ae8437d5da6e32cf')
|
2010-03-13 23:25:19 +08:00
|
|
|
|
|
|
|
build() {
|
2011-07-03 17:20:16 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-06-16 02:24:40 +08:00
|
|
|
|
|
|
|
./configure --prefix=/usr --disable-padlock-support --disable-static
|
2011-01-16 07:39:26 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-07-03 17:20:16 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-05-16 23:08:55 +08:00
|
|
|
|
2012-06-16 02:24:40 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-07-03 17:20:16 +08:00
|
|
|
}
|