wok-next view nettle/receipt @ rev 20839

p11-kit: upgrade 0.23.8 (2017 Aug) -> 0.23.12
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 20 07:32:40 2018 +0000 (2018-06-20)
parents 1a86cb99cbbf
children e7a485521d6a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nettle"
4 VERSION="3.3"
5 CATEGORY="security"
6 SHORT_DESC="Nettle cryptographic library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="openssl-dev gmp-dev texinfo"
15 SPLIT="nettle-dev"
17 compile_rules() {
18 case "$ARCH" in
19 arm) ARCH_ARGS='--enable-arm-neon';;
20 *) ARCH_ARGS='';;
21 esac
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS $ARCH_ARGS &&
26 make && make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 nettle)
32 copy @std
33 DEPENDS="gmp"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="nettle gmp-dev"
38 ;;
39 esac
40 }