wok-6.x annotate nettle/receipt @ rev 23230

updated ncmpc (0.21 -> 0.37)
author Hans-G?nter Theisgen
date Tue Mar 24 08:38:49 2020 +0100 (2020-03-24)
parents f6439eea12df
children eeb3f2dda9df
rev   line source
devl547@11265 1 # SliTaz package receipt.
devl547@11265 2
devl547@11265 3 PACKAGE="nettle"
Hans-G?nter@21539 4 VERSION="3.4.1"
slaxemulator@13005 5 CATEGORY="security"
Hans-G?nter@21539 6 SHORT_DESC="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"
Hans-G?nter@21539 9 WEB_SITE="https://www.lysator.liu.se/~nisse/nettle/"
Hans-G?nter@21539 10
slaxemulator@13005 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21539 12 WGET_URL="https://www.lysator.liu.se/~nisse/archive/$TARBALL"
slaxemulator@13005 13
pankso@16257 14 DEPENDS="gmp"
Hans-G?nter@21539 15 BUILD_DEPENDS="gcc83 gmp-dev"
Hans-G?nter@21539 16
Hans-G?nter@21539 17 HOST_ARCH="i486 arm"
pankso@16257 18
pascal@16253 19 # Handle cross compilation.
pascal@16253 20 case "$ARCH" in
pankso@16257 21 arm)
pankso@16257 22 ARCH_ARGS="--enable-arm-neon" ;;
pascal@16253 23 esac
devl547@11265 24
devl547@11265 25 # Rules to configure and make the package.
devl547@11265 26 compile_rules()
devl547@11265 27 {
Hans-G?nter@21539 28 export CC=gcc-83
Hans-G?nter@21539 29 export CXX=g++-83
Hans-G?nter@21539 30
Hans-G?nter@21539 31 ./configure \
Hans-G?nter@21539 32 --libdir=/usr/lib \
Hans-G?nter@21539 33 --enable-shared \
pankso@16257 34 $CONFIGURE_ARGS ${ARCH_ARGS} &&
Hans-G?nter@21539 35 make &&
Hans-G?nter@21539 36 make install
devl547@11265 37 }
devl547@11265 38
devl547@11265 39 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@11265 40 genpkg_rules()
devl547@11265 41 {
slaxemulator@13005 42 mkdir -p $fs/usr/lib
Hans-G?nter@21539 43
Hans-G?nter@21539 44 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21539 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
devl547@11265 46 }