blob: 72bdfa69561397e5032f2ca9887b242c8f9f273a (
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=3.3
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="2bdd687f487c50a0382b99553866a6e0 libtasn1-3.3.tar.gz"
sha256sums="92652a2cd10f63c56984b5e5cee46ecadf2292e2262fff99278f7ee46ff93ac0 libtasn1-3.3.tar.gz"
sha512sums="f2d73fcaf2c2a546e775fff3d9f60db89da9dd192185559077317069ec9f162fcc954a6fb89a7cf996dc1c475b499914da6ffff5b66415befc667c3915f6f578 libtasn1-3.3.tar.gz"
|