aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtasn1/APKBUILD
blob: f7fdd6e00d821c2236d245c025a4c5d56e7f57d3 (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.8
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="9a6767705725544f2b86670dcfb34107  libtasn1-4.8.tar.gz"
sha256sums="fa802fc94d79baa00e7397cedf29eb6827d4bd8b4dd77b577373577c93a8c513  libtasn1-4.8.tar.gz"
sha512sums="22a0d1b2fc57efd18aa23ea720f915ec0c31bd2f60653181b0537d3d7c3c3262cef3a76e3be03fdb7d7cd5a6b4156a1033b156e56717bfa37a32f176692319f3  libtasn1-4.8.tar.gz"