wok view nettle/receipt @ rev 13818
tazbug-website: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:21:06 2013 +0100 (2013-01-06) |
parents | 2709c1179e44 |
children | ebca942f0593 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
10 WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL"
12 DEPENDS="gmp"
13 BUILD_DEPENDS="gmp-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure --libdir=/usr/lib \
19 --enable-shared \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }