wok-current annotate nettle/receipt @ rev 13809
Up: nettle (2.5)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 06 06:34:58 2013 +0300 (2013-01-06) |
parents | 2709c1179e44 |
children | ebca942f0593 |
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@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 } |