wok view nettle/receipt @ rev 20914

updated fbgrab (1.2 -> 1.3)
author Hans-G?nter Theisgen
date Thu Feb 28 15:05:12 2019 +0100 (2019-02-28)
parents 314808318aef
children 163f71af5751
line source
1 # SliTaz package receipt.
3 PACKAGE="nettle"
4 VERSION="3.1.1"
5 CATEGORY="security"
6 SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
11 WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gmp"
15 BUILD_DEPENDS="gmp-dev"
17 # Handle cross compilation.
18 case "$ARCH" in
19 arm)
20 ARCH_ARGS="--enable-arm-neon" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --libdir=/usr/lib \
28 --enable-shared \
29 $CONFIGURE_ARGS ${ARCH_ARGS} &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }