wok-next view nettle/receipt @ rev 17334
add aespipe & dcron
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 05 16:03:16 2014 +0100 (2014-11-05) |
parents | a1fff9cb2cd5 |
children | f6439eea12df |
line source
1 # SliTaz package receipt.
3 PACKAGE="nettle"
4 VERSION="2.7.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 }