wok-next view nettle/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
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 }