wok-next view nettle/receipt @ rev 21622

updated elfkickers (3.0 -> 3.1a)
author Hans-G?nter Theisgen
date Thu Jun 25 14:35:46 2020 +0100 (2020-06-25)
parents d5aab818505e
children
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 COOKOPTS="force-arch" # different .h
16 BUILD_DEPENDS="openssl-dev gmp-dev texinfo"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --libdir=/usr/lib \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install || return 1
27 chmod 0755 $install/usr/lib/*.so* # was 644
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 nettle)
33 copy @std
34 DEPENDS="gmp"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="nettle gmp-dev"
39 ;;
40 esac
41 }