2012-12-03 11:28:37 +00:00
|
|
|
# Template build file for 'nettle'.
|
|
|
|
pkgname=nettle
|
2013-05-30 19:00:44 +00:00
|
|
|
version=2.7.1
|
2014-04-19 06:36:11 +00:00
|
|
|
revision=3
|
2012-12-03 11:28:37 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-19 12:47:29 +00:00
|
|
|
makedepends="gmp-devel"
|
2013-04-13 11:29:34 +00:00
|
|
|
configure_args="--enable-shared"
|
2012-12-03 11:28:37 +00:00
|
|
|
short_desc="A low-level cryptographic library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.lysator.liu.se/~nisse/nettle/"
|
|
|
|
license="GPL-2"
|
2013-04-28 05:23:00 +00:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/nettle/nettle-${version}.tar.gz"
|
2013-05-30 19:00:44 +00:00
|
|
|
checksum=bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40
|
2012-12-03 11:28:37 +00:00
|
|
|
|
2013-04-13 11:29:34 +00:00
|
|
|
nettle-devel_package() {
|
2014-02-21 14:57:25 +00:00
|
|
|
depends="gmp-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-30 19:00:44 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 11:29:34 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-21 14:57:25 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 11:29:34 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/info
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nettle-tools_package() {
|
2013-05-30 19:00:44 +00:00
|
|
|
short_desc+=" - bundled tools"
|
2013-04-13 11:29:34 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|