wok diff nettle/receipt @ rev 11845
vanessa_adt: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 08:26:19 2012 +0100 (2012-02-27) |
parents | |
children | 2709c1179e44 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nettle/receipt Mon Feb 27 08:26:19 2012 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="nettle" 1.7 +VERSION="2.4" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context" 1.10 +MAINTAINER="devl547@gmail.com" 1.11 +DEPENDS="gmp" 1.12 +BUILD_DEPENDS="gmp-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.lysator.liu.se/~nisse/nettle" 1.15 +WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --enable-shared \ 1.23 + $CONFIGURE_ARGS && 1.24 + make $MAKEFLAGS && make install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib 1.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.32 +}