wok-current annotate nettle/receipt @ rev 15899
Up efl (1.8.4)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Feb 13 08:16:28 2014 +0100 (2014-02-13) |
parents | ebca942f0593 |
children | 6739a11f9858 |
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" |
pascal@15584 | 8 LICENSE="LGPL2.1" |
slaxemulator@13005 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@13005 | 10 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/" |
slaxemulator@13005 | 11 WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL" |
slaxemulator@13005 | 12 |
devl547@11265 | 13 DEPENDS="gmp" |
devl547@11265 | 14 BUILD_DEPENDS="gmp-dev" |
devl547@11265 | 15 |
devl547@11265 | 16 # Rules to configure and make the package. |
devl547@11265 | 17 compile_rules() |
devl547@11265 | 18 { |
slaxemulator@13005 | 19 ./configure --libdir=/usr/lib \ |
slaxemulator@13005 | 20 --enable-shared \ |
slaxemulator@13005 | 21 $CONFIGURE_ARGS && |
slaxemulator@13005 | 22 make && make DESTDIR=$DESTDIR install |
devl547@11265 | 23 } |
devl547@11265 | 24 |
devl547@11265 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11265 | 26 genpkg_rules() |
devl547@11265 | 27 { |
slaxemulator@13005 | 28 mkdir -p $fs/usr/lib |
slaxemulator@13005 | 29 cp -a $install/usr/bin $fs/usr |
slaxemulator@13005 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@11265 | 31 } |