diff --git a/templates/gnutls-devel b/templates/gnutls-devel new file mode 120000 index 00000000000..ef33489ed7c --- /dev/null +++ b/templates/gnutls-devel @@ -0,0 +1 @@ +gnutls \ No newline at end of file diff --git a/templates/gnutls-tools b/templates/gnutls-tools new file mode 120000 index 00000000000..ef33489ed7c --- /dev/null +++ b/templates/gnutls-tools @@ -0,0 +1 @@ +gnutls \ No newline at end of file diff --git a/templates/gnutls/depends b/templates/gnutls/depends new file mode 100644 index 00000000000..1e225b0efc9 --- /dev/null +++ b/templates/gnutls/depends @@ -0,0 +1,2 @@ +abi_depends=1.4.4 +api_depends=${abi_depends} diff --git a/templates/gnutls/devel.template b/templates/gnutls/devel.template new file mode 100644 index 00000000000..70366e3e8c8 --- /dev/null +++ b/templates/gnutls/devel.template @@ -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 +} diff --git a/templates/gnutls/template b/templates/gnutls/template new file mode 100644 index 00000000000..368560e4888 --- /dev/null +++ b/templates/gnutls/template @@ -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 " +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 diff --git a/templates/gnutls/tools.template b/templates/gnutls/tools.template new file mode 100644 index 00000000000..cfd06df39ff --- /dev/null +++ b/templates/gnutls/tools.template @@ -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 +}