wok-next annotate nettle/receipt @ rev 17300
Update weechat to 1.0.1 (needs further testing, if unstable somehow then
downgrade to at most 0.4.3).
downgrade to at most 0.4.3).
author | necrophcodr <tcg.thegamer@gmail.com> |
---|---|
date | Thu Oct 30 23:27:48 2014 +0100 (2014-10-30) |
parents | a1fff9cb2cd5 |
children | f6439eea12df |
rev | line source |
---|---|
devl547@11265 | 1 # SliTaz package receipt. |
devl547@11265 | 2 |
devl547@11265 | 3 PACKAGE="nettle" |
pankso@16257 | 4 VERSION="2.7.1" |
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" |
pankso@16250 | 12 HOST_ARCH="i486 arm" |
slaxemulator@13005 | 13 |
pankso@16257 | 14 DEPENDS="gmp" |
pankso@16257 | 15 BUILD_DEPENDS="gmp-dev" |
pankso@16257 | 16 |
pascal@16253 | 17 # Handle cross compilation. |
pascal@16253 | 18 case "$ARCH" in |
pankso@16257 | 19 arm) |
pankso@16257 | 20 ARCH_ARGS="--enable-arm-neon" ;; |
pascal@16253 | 21 esac |
devl547@11265 | 22 |
devl547@11265 | 23 # Rules to configure and make the package. |
devl547@11265 | 24 compile_rules() |
devl547@11265 | 25 { |
pankso@16250 | 26 ./configure \ |
pankso@16250 | 27 --libdir=/usr/lib \ |
slaxemulator@13005 | 28 --enable-shared \ |
pankso@16257 | 29 $CONFIGURE_ARGS ${ARCH_ARGS} && |
pankso@16250 | 30 make && make install |
devl547@11265 | 31 } |
devl547@11265 | 32 |
devl547@11265 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11265 | 34 genpkg_rules() |
devl547@11265 | 35 { |
slaxemulator@13005 | 36 mkdir -p $fs/usr/lib |
slaxemulator@13005 | 37 cp -a $install/usr/bin $fs/usr |
slaxemulator@13005 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@11265 | 39 } |