wok-next annotate nettle/receipt @ rev 19803
Up ruby
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 26 15:28:24 2017 +0300 (2017-06-26) |
parents | 35a20e111081 |
children | 0e7893ac206d |
rev | line source |
---|---|
devl547@11265 | 1 # SliTaz package receipt. |
devl547@11265 | 2 |
devl547@11265 | 3 PACKAGE="nettle" |
al@19607 | 4 VERSION="3.3" |
slaxemulator@13005 | 5 CATEGORY="security" |
devl547@13853 | 6 SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context." |
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/" |
pankso@16250 | 10 HOST_ARCH="i486 arm" |
slaxemulator@13005 | 11 |
al@19607 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19607 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
al@19607 | 14 |
pankso@16257 | 15 DEPENDS="gmp" |
al@19607 | 16 BUILD_DEPENDS="openssl-dev gmp-dev texinfo" |
al@19607 | 17 |
pascal@16253 | 18 # Handle cross compilation. |
pascal@16253 | 19 case "$ARCH" in |
al@19607 | 20 arm) |
pankso@16257 | 21 ARCH_ARGS="--enable-arm-neon" ;; |
pascal@16253 | 22 esac |
devl547@11265 | 23 |
devl547@11265 | 24 # Rules to configure and make the package. |
devl547@11265 | 25 compile_rules() |
devl547@11265 | 26 { |
pankso@16250 | 27 ./configure \ |
al@19607 | 28 --disable-static \ |
al@19607 | 29 $CONFIGURE_ARGS ${ARCH_ARGS} && |
pankso@16250 | 30 make && make install |
devl547@11265 | 31 } |
devl547@11265 | 32 |
devl547@11265 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11265 | 34 genpkg_rules() |
devl547@11265 | 35 { |
al@19709 | 36 copy @std |
devl547@11265 | 37 } |