wok-next view nettle/receipt @ rev 19709

Up at-spi2-atk, libpcap, nettle, readline, tiff, xcb-util* and 220 Perl packages (there are still about 20 left)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 11 02:23:02 2017 +0300 (2017-05-11)
parents 35a20e111081
children 0e7893ac206d
line source
1 # SliTaz package receipt.
3 PACKAGE="nettle"
4 VERSION="3.3"
5 CATEGORY="security"
6 SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="gmp"
16 BUILD_DEPENDS="openssl-dev gmp-dev texinfo"
18 # Handle cross compilation.
19 case "$ARCH" in
20 arm)
21 ARCH_ARGS="--enable-arm-neon" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --disable-static \
29 $CONFIGURE_ARGS ${ARCH_ARGS} &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 copy @std
37 }