wok-next view nettle/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
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 }