Added libtasn1-2.1 template.

--HG--
extra : convert_revision : 6ea43615d3d6e9c9088e0ead1ac9e29665910ee8
This commit is contained in:
Juan RP 2009-05-15 01:29:12 +02:00
parent 9a3f2e7c3d
commit 530de0b932
6 changed files with 61 additions and 0 deletions

1
templates/libtasn1-devel Symbolic link
View file

@ -0,0 +1 @@
libtasn1

1
templates/libtasn1-tools Symbolic link
View file

@ -0,0 +1 @@
libtasn1

View file

@ -0,0 +1,2 @@
abi_depends=2.1
api_depends=${abi_depends}

View file

@ -0,0 +1,19 @@
# Template file for 'libtasn1-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libtasn1
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/share/info ${DESTDIR}/usr/share
}

View file

@ -0,0 +1,23 @@
# Template build file for 'libtasn1'.
pkgname=libtasn1
sourcepkg=$pkgname
version=2.1
distfiles="ftp://ftp.gnutls.org/pub/gnutls/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="ASN.1 structure parser library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=ef89d6ef509185f6f3b67140d58e5aa4494fa87118e0982dc2fddeb0d0204533
long_desc="
libtasn1 library was developed for ASN1 (Abstract Syntax Notation One)
structures management.
The main features of this library are:
- on-line ASN1 structure management that does not require any C
code file generation.
- off-line ASN1 structure management with C code file generation
containing an array.
- DER (Distinguish Encoding Rules) encoding.
- no limits for INTEGER and ENUMERATED values."
subpackages="devel tools"
Add_dependency full glibc

View file

@ -0,0 +1,15 @@
# Template file for 'libtasn1-tools'.
#
short_desc="${short_desc} (ASN.1 tools)"
long_desc="${long_desc}
This package contains some ASN.1 tools that come with libtasn1."
Add_dependency run libtasn1
do_install()
{
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man
}