wok-current annotate nettle/receipt @ rev 13288
memtest: lzma compression (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 26 00:28:25 2012 +0200 (2012-08-26) |
parents | bcdfb30b149b |
children | d2414b55d081 |
rev | line source |
---|---|
devl547@11265 | 1 # SliTaz package receipt. |
devl547@11265 | 2 |
devl547@11265 | 3 PACKAGE="nettle" |
devl547@11265 | 4 VERSION="2.4" |
slaxemulator@13005 | 5 CATEGORY="security" |
devl547@11265 | 6 SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context" |
devl547@11265 | 7 MAINTAINER="devl547@gmail.com" |
slaxemulator@13005 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@13005 | 9 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/" |
slaxemulator@13005 | 10 WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL" |
slaxemulator@13005 | 11 |
devl547@11265 | 12 DEPENDS="gmp" |
devl547@11265 | 13 BUILD_DEPENDS="gmp-dev" |
devl547@11265 | 14 |
devl547@11265 | 15 # Rules to configure and make the package. |
devl547@11265 | 16 compile_rules() |
devl547@11265 | 17 { |
slaxemulator@13005 | 18 ./configure --libdir=/usr/lib \ |
slaxemulator@13005 | 19 --enable-shared \ |
slaxemulator@13005 | 20 $CONFIGURE_ARGS && |
slaxemulator@13005 | 21 make && make DESTDIR=$DESTDIR install |
devl547@11265 | 22 } |
devl547@11265 | 23 |
devl547@11265 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11265 | 25 genpkg_rules() |
devl547@11265 | 26 { |
slaxemulator@13005 | 27 mkdir -p $fs/usr/lib |
slaxemulator@13005 | 28 cp -a $install/usr/bin $fs/usr |
slaxemulator@13005 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@11265 | 30 } |