wok-next view nettle/receipt @ rev 19607

Up: advancecomp, cmake, curl, docbook-xml*, docbook-xsl*, glib, gtk-doc, itstool, jpeg-turbo, lcms2, lemon, libarchive, libcroco, libcurl, libffi, libgcrypt, libgio, libgpg-error, libidn, libjpeg-turbo, libpng+apng, libpng, libsqlite, libxslt, lz4, lz5, lzham_codec, lzo, lzop, nasm, nettle, optipng, pngquant, sqlite, tiff.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Feb 03 12:13:00 2017 +0200 (2017-02-03)
parents f6439eea12df
children 1a86cb99cbbf
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 cook_copy_folders bin
37 cook_copy_files *.so*
38 }