Added gnutls-2.6.6 template.

--HG--
extra : convert_revision : 9623c684bb5dfaa4ed86d6be84ebd27c187108bb
This commit is contained in:
Juan RP 2009-05-15 03:10:37 +02:00
parent f3c5c5fe96
commit 28fc4c1edd
6 changed files with 76 additions and 0 deletions

1
templates/gnutls-devel Symbolic link
View File

@ -0,0 +1 @@
gnutls

1
templates/gnutls-tools Symbolic link
View File

@ -0,0 +1 @@
gnutls

2
templates/gnutls/depends Normal file
View File

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

View File

@ -0,0 +1,23 @@
# Template file for 'libgrypt-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run gnutls
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mkdir -p ${DESTDIR}/usr/bin
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
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/bin/libgnutls* ${DESTDIR}/usr/bin
}

34
templates/gnutls/template Normal file
View File

@ -0,0 +1,34 @@
# Template build file for 'gnutls'.
pkgname=gnutls
sourcepkg=$pkgname
version=2.6.6
distfiles="ftp://ftp.gnutls.org/pub/gnutls/gnutls-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-lzo --with-zlib --disable-guile"
short_desc="GNU Transport Layer Security library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=03d85b8b51ca7885740c69b87663963c58fe7c9672da0a43e45732078fabdc9e
long_desc="
GnuTLS is a portable ANSI C based library which implements the TLS 1.0 and
SSL 3.0 protocols. The library does not include any patented algorithms and
is available under the GNU Lesser GPL license.
Important features of the GnuTLS library include:
- Thread safety
- Support for both TLS 1.0 and SSL 3.0 protocols
- Support for both X.509 and OpenPGP certificates
- Support for basic parsing and verification of certificates
- Support for SRP for TLS authentication
- Support for TLS Extension mechanism
- Support for TLS Compression Methods
Additionally GnuTLS provides an emulation API for the widely used OpenSSL
library, to ease integration with existing applications."
subpackages="devel tools"
Add_dependency full glibc
Add_dependency full zlib
Add_dependency full readline
Add_dependency full libtasn1
Add_dependency full libgcrypt
Add_dependency full lzo

View File

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