New package: nettle-2.5.

This commit is contained in:
Juan RP 2012-12-03 12:28:37 +01:00
parent 1f0c598047
commit 945288002f
6 changed files with 50 additions and 0 deletions

View file

@ -1116,3 +1116,5 @@ libOpenCL.so.1 libOpenCL-1.0_1
libHX.so.28 libHX-3.14_1 libHX.so.28 libHX-3.14_1
libxkbcommon.so.0 libxkbcommon-0.2.0_1 libxkbcommon.so.0 libxkbcommon-0.2.0_1
libgee-0.8.so.2 libgee08-0.8.2_1 libgee-0.8.so.2 libgee08-0.8.2_1
libnettle.so.4 nettle-2.5_1
libhogweed.so.2 nettle-2.5_1

1
srcpkgs/nettle-devel Symbolic link
View file

@ -0,0 +1 @@
nettle

1
srcpkgs/nettle-tools Symbolic link
View file

@ -0,0 +1 @@
nettle

View file

@ -0,0 +1,14 @@
# Template file for 'nettle-devel'.
#
noarch=yes
depends="gmp-devel ${sourcepkg}>=${version}"
short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/info usr/share
}

View file

@ -0,0 +1,11 @@
# Template file for 'nettle-tools'.
#
short_desc="${short_desc} (bundled tools)"
long_desc="${long_desc}
This package contains the tools that come with gnutls."
do_install() {
vmove usr/bin usr
#vmove usr/share/man/man1 usr/share/man
}

21
srcpkgs/nettle/template Normal file
View file

@ -0,0 +1,21 @@
# Template build file for 'nettle'.
pkgname=nettle
version=2.5
revision=1
build_style=gnu-configure
subpackages="${pkgname}-devel ${pkgname}-tools"
configure_args="--enable-shared --disable-static"
short_desc="A low-level cryptographic library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.lysator.liu.se/~nisse/nettle/"
license="GPL-2"
distfiles="ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-${version}.tar.gz"
checksum=4aa142e908b0053082d7729fc0155dc90dbe71c8ef5f50f30034805ed5c92c72
long_desc="
Nettle is a cryptographic library that is designed to fit easily in more or
less any context: In crypto toolkits for object-oriented languages (C++,
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space."
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}