wok-next view nettle/receipt @ rev 20997

Update netsurf, use combined sources, separated packages no more required
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 04 19:53:01 2018 +0300 (2018-10-04)
parents 0e7893ac206d
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nettle"
4 VERSION="3.4"
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 --libdir=/usr/lib \
25 --disable-static \
26 $CONFIGURE_ARGS $ARCH_ARGS &&
27 make &&
28 make install || return 1
30 chmod 0755 $install/usr/lib/*.so* # was 644
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 nettle)
36 copy @std
37 DEPENDS="gmp"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="nettle gmp-dev"
42 ;;
43 esac
44 }