aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtasn1/APKBUILD
blob: 5c93707ec7af716379b2e6b8858a60d3e80a1622 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtasn1
pkgver=4.6
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
}
md5sums="454a7f80362f38bd2335b6e9d95f57a6  libtasn1-4.6.tar.gz"
sha256sums="3462fc25e2d2536878c39a8825f5e36ba2e2611b27ef535e064f4c56258e508b  libtasn1-4.6.tar.gz"
sha512sums="865215b21ff13cd3998e1dbc893a0c9897e08611549a22e0aa42e068e8531c4b28226fe16bc27e1018cf3e0d481f86fa70d15a29a68b1aad155c4fa4f84a3d81  libtasn1-4.6.tar.gz"