wok annotate nettle/receipt @ rev 14933
Up: evas-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:38 2013 +0200 (2013-08-08) |
parents | d2414b55d081 |
children | 3765f181a6d5 |
rev | line source |
---|---|
devl547@11265 | 1 # SliTaz package receipt. |
devl547@11265 | 2 |
devl547@11265 | 3 PACKAGE="nettle" |
devl547@13809 | 4 VERSION="2.5" |
slaxemulator@13005 | 5 CATEGORY="security" |
devl547@13853 | 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 } |