updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / yassl / PKGBUILD
blob2eeb5fea99100adbe7dcf5a2649dd4cc4a0f182c
1 # Maintainer: Jakub Schmidtke <sjakub-at-gmail-dot-com>
3 pkgname=yassl
4 pkgver=1.9.8
5 pkgrel=1
6 pkgdesc="yaSSL - a small, portable, embedded SSL programming library"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/yassl/"
9 license=('GPL')
10 depends=('glibc' 'zlib')
11 source=(http://downloads.sourceforge.net/sourceforge/yassl/${pkgname}-${pkgver}.zip)
12 md5sums=('e3f1e397880d20236a6f27961fe0dd7d')
13 sha1sums=('f17800357a3e14e9a8ce143de0b9e26b181472af')
15 build() {
16   cd "${srcdir}/${pkgname}-${pkgver}"
17   ./configure --prefix=/usr
18   make
21 package() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
23   make DESTDIR="${pkgdir}" install-recursive
25   # some test tools:
26   rm -rf "${pkgdir}/usr/bin"
28   mkdir -p "${pkgdir}/usr/include"
29   cp -a "${srcdir}/${pkgname}-${pkgver}/include" "${pkgdir}/usr/include/yassl"
30   cp -a "${srcdir}/${pkgname}-${pkgver}/taocrypt/include" "${pkgdir}/usr/include/yassl/taocrypt"