blob: d0949fab84fddf4b8c9674a2da972207de958812 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtasn1
pkgver=3.4
pkgrel=0
pkgdesc="The ASN.1 library used in GNUTLS"
url="http://www.gnu.org/software/gnutls/"
arch="all"
license="GPL3 LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="texinfo"
install=
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="21ec021c534b0f30b2834ce233c70f15 libtasn1-3.4.tar.gz"
sha256sums="f353507a458fe2372b791016a056c95946eebfc7256b49013851f134a5e6acc8 libtasn1-3.4.tar.gz"
sha512sums="2f06291b811e9415e7906b9b7c7d82fd5543c5bfce591093f6c44b59ee58deb8f78c7d1a025b9d08cffc87e98d15b3dac08872d6becf6734b0958631d51db14e libtasn1-3.4.tar.gz"
|