wok-next annotate nettle/receipt @ rev 20488

palemoon: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 11:00:54 2018 +0100 (2018-03-12)
parents 1a86cb99cbbf
children e7a485521d6a
rev   line source
al@20443 1 # SliTaz package receipt v2.
devl547@11265 2
devl547@11265 3 PACKAGE="nettle"
al@19607 4 VERSION="3.3"
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@19607 14 BUILD_DEPENDS="openssl-dev gmp-dev texinfo"
al@20443 15 SPLIT="nettle-dev"
al@19607 16
al@20443 17 compile_rules() {
al@20443 18 case "$ARCH" in
al@20443 19 arm) ARCH_ARGS='--enable-arm-neon';;
al@20443 20 *) ARCH_ARGS='';;
al@20443 21 esac
devl547@11265 22
pankso@16250 23 ./configure \
al@19607 24 --disable-static \
al@20443 25 $CONFIGURE_ARGS $ARCH_ARGS &&
pankso@16250 26 make && make install
devl547@11265 27 }
devl547@11265 28
al@20443 29 genpkg_rules() {
al@20443 30 case $PACKAGE in
al@20443 31 nettle)
al@20443 32 copy @std
al@20443 33 DEPENDS="gmp"
al@20443 34 ;;
al@20443 35 *-dev)
al@20443 36 copy @dev
al@20443 37 DEPENDS="nettle gmp-dev"
al@20443 38 ;;
al@20443 39 esac
devl547@11265 40 }