2009-05-14 23:29:12 +00:00
|
|
|
# Template build file for 'libtasn1'.
|
|
|
|
pkgname=libtasn1
|
2014-07-27 15:11:05 +00:00
|
|
|
version=4.0
|
2014-05-05 11:36:02 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-01-04 08:07:31 +00:00
|
|
|
hostmakedepends="perl"
|
2009-05-14 23:29:12 +00:00
|
|
|
short_desc="ASN.1 structure parser library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-27 23:02:18 +00:00
|
|
|
homepage="http://www.gnu.org/software/libtasn1/"
|
|
|
|
license="GPL-3, LGPL-2.1"
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
2014-07-27 15:11:05 +00:00
|
|
|
checksum=41d044f7644bdd1c4f8a5c15ac1885ca1fcbf32f5f6dd4760a19278b979857fe
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libtasn1-devel_package() {
|
2014-05-05 11:36:02 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-01-04 08:07:31 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-04 08:07:31 +00:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/share/info
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libtasn1-tools_package() {
|
2014-01-04 08:07:31 +00:00
|
|
|
short_desc+=" - ASN.1 tools"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|