wok-current annotate nettle/receipt @ rev 20731
updated avfs-dev (1.0.1 -> 1.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 09 15:55:27 2019 +0100 (2019-02-09) |
parents | 314808318aef |
children | 163f71af5751 |
rev | line source |
---|---|
devl547@11265 | 1 # SliTaz package receipt. |
devl547@11265 | 2 |
devl547@11265 | 3 PACKAGE="nettle" |
devl547@18346 | 4 VERSION="3.1.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 } |