wok-next view nettle/receipt @ rev 19803

Up ruby
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 26 15:28:24 2017 +0300 (2017-06-26)
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 }