wok-next view nettle/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
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 }