wok-next annotate nettle/receipt @ rev 21271
up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 07 12:21:21 2019 +0000 (2019-12-07) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
devl547@11265 | 2 |
devl547@11265 | 3 PACKAGE="nettle" |
al@20905 | 4 VERSION="3.4" |
slaxemulator@13005 | 5 CATEGORY="security" |
al@20443 | 6 SHORT_DESC="Nettle cryptographic library" |
devl547@11265 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15584 | 8 LICENSE="LGPL2.1" |
slaxemulator@13005 | 9 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/" |
slaxemulator@13005 | 10 |
al@19607 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19607 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
al@19607 | 13 |
al@21094 | 14 COOKOPTS="force-arch" # different .h |
al@21094 | 15 |
al@19607 | 16 BUILD_DEPENDS="openssl-dev gmp-dev texinfo" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
al@19607 | 18 |
al@20443 | 19 compile_rules() { |
pankso@16250 | 20 ./configure \ |
al@20905 | 21 --libdir=/usr/lib \ |
al@19607 | 22 --disable-static \ |
al@21020 | 23 $CONFIGURE_ARGS && |
al@20905 | 24 make && |
al@20905 | 25 make install || return 1 |
al@20905 | 26 |
al@20905 | 27 chmod 0755 $install/usr/lib/*.so* # was 644 |
devl547@11265 | 28 } |
devl547@11265 | 29 |
al@20443 | 30 genpkg_rules() { |
al@20443 | 31 case $PACKAGE in |
al@20443 | 32 nettle) |
al@20443 | 33 copy @std |
al@20443 | 34 DEPENDS="gmp" |
al@20443 | 35 ;; |
al@20443 | 36 *-dev) |
al@20443 | 37 copy @dev |
al@20443 | 38 DEPENDS="nettle gmp-dev" |
al@20443 | 39 ;; |
al@20443 | 40 esac |
devl547@11265 | 41 } |