wok-current view nettle/receipt @ rev 16253
nettle, vte: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 04 07:39:36 2014 +0000 (2014-04-04) |
parents | 6739a11f9858 |
children | 314808318aef |
line source
1 # SliTaz package receipt.
3 PACKAGE="nettle"
4 VERSION="2.5"
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 # Handle cross compilation.
15 case "$ARCH" in
16 i?86)
17 DEPENDS="gmp"
18 BUILD_DEPENDS="gmp-dev" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --libdir=/usr/lib \
26 --enable-shared \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }