wok-6.x view nettle/receipt @ rev 19014
obconf: use stuff/ru.po
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 01 00:32:15 2016 +0300 (2016-04-01) |
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 }