wok-next annotate 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 |
rev | line source |
---|---|
devl547@11265 | 1 # SliTaz package receipt. |
devl547@11265 | 2 |
devl547@11265 | 3 PACKAGE="nettle" |
devl547@13809 | 4 VERSION="2.5" |
slaxemulator@13005 | 5 CATEGORY="security" |
devl547@13853 | 6 SHORT_DESC="Nettle is 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" |
slaxemulator@13005 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@13005 | 10 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/" |
slaxemulator@13005 | 11 WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL" |
pankso@16250 | 12 HOST_ARCH="i486 arm" |
slaxemulator@13005 | 13 |
pascal@16253 | 14 # Handle cross compilation. |
pascal@16253 | 15 case "$ARCH" in |
pascal@16253 | 16 i?86) |
pascal@16253 | 17 DEPENDS="gmp" |
pascal@16253 | 18 BUILD_DEPENDS="gmp-dev" ;; |
pascal@16253 | 19 esac |
devl547@11265 | 20 |
devl547@11265 | 21 # Rules to configure and make the package. |
devl547@11265 | 22 compile_rules() |
devl547@11265 | 23 { |
pankso@16250 | 24 ./configure \ |
pankso@16250 | 25 --libdir=/usr/lib \ |
slaxemulator@13005 | 26 --enable-shared \ |
slaxemulator@13005 | 27 $CONFIGURE_ARGS && |
pankso@16250 | 28 make && make install |
devl547@11265 | 29 } |
devl547@11265 | 30 |
devl547@11265 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11265 | 32 genpkg_rules() |
devl547@11265 | 33 { |
slaxemulator@13005 | 34 mkdir -p $fs/usr/lib |
slaxemulator@13005 | 35 cp -a $install/usr/bin $fs/usr |
slaxemulator@13005 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@11265 | 37 } |