wok annotate nettle/receipt @ rev 11521
Up net6 (1.3.14)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 14:00:50 2011 +0100 (2011-12-24) |
parents | |
children | 2709c1179e44 |
rev | line source |
---|---|
devl547@11265 | 1 # SliTaz package receipt. |
devl547@11265 | 2 |
devl547@11265 | 3 PACKAGE="nettle" |
devl547@11265 | 4 VERSION="2.4" |
devl547@11265 | 5 CATEGORY="system-tools" |
devl547@11265 | 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" |
devl547@11265 | 8 DEPENDS="gmp" |
devl547@11265 | 9 BUILD_DEPENDS="gmp-dev" |
devl547@11265 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@11265 | 11 WEB_SITE="http://www.lysator.liu.se/~nisse/nettle" |
devl547@11265 | 12 WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL" |
devl547@11265 | 13 |
devl547@11265 | 14 # Rules to configure and make the package. |
devl547@11265 | 15 compile_rules() |
devl547@11265 | 16 { |
devl547@11265 | 17 cd $src |
devl547@11265 | 18 ./configure \ |
devl547@11265 | 19 --enable-shared \ |
devl547@11265 | 20 $CONFIGURE_ARGS && |
devl547@11265 | 21 make $MAKEFLAGS && make install |
devl547@11265 | 22 } |
devl547@11265 | 23 |
devl547@11265 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11265 | 25 genpkg_rules() |
devl547@11265 | 26 { |
devl547@11265 | 27 mkdir -p $fs/usr/lib |
devl547@11265 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
devl547@11265 | 29 } |