wok-current view nettle/receipt @ rev 15584

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 17:02:58 2013 +0000 (2013-11-30)
parents ebca942f0593
children 6739a11f9858
line source
1 # SliTaz package receipt.
3 PACKAGE="nettle"
4 VERSION="2.5"
5 CATEGORY="security"
6 SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
11 WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL"
13 DEPENDS="gmp"
14 BUILD_DEPENDS="gmp-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --libdir=/usr/lib \
20 --enable-shared \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }