aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtasn1/APKBUILD
blob: a2bbf7ea754adf7827a40614b1d5f3df6feee1b3 (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.7
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="12d10ca4ae0a3b95f7aa06a076da39ec  libtasn1-4.7.tar.gz"
sha256sums="a40780dc93fc6d819170240e8ece25352058a85fd1d2347ce0f143667d8f11c9  libtasn1-4.7.tar.gz"
sha512sums="9e93264bfad250d88c528550db4731d07c5c1b2ec319b892e9b536dc3d46b2a4166241ebf3470127c4f662067b7dabaa407ce1f16bdf05ee31495881eefe5572  libtasn1-4.7.tar.gz"