wok rev 13005
nettle: Sync with wok-tank and clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jun 06 10:27:03 2012 +0000 (2012-06-06) |
parents | 73d3e81a7167 |
children | c606db8669ee |
files | nettle-dev/receipt nettle/receipt |
line diff
1.1 --- a/nettle-dev/receipt Wed Jun 06 10:23:26 2012 +0000 1.2 +++ b/nettle-dev/receipt Wed Jun 06 10:27:03 2012 +0000 1.3 @@ -3,15 +3,18 @@ 1.4 PACKAGE="nettle-dev" 1.5 VERSION="2.4" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context" 1.8 +SHORT_DESC="devel files for nettle" 1.9 MAINTAINER="devl547@gmail.com" 1.10 +WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/" 1.11 + 1.12 WANTED="nettle" 1.13 -WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/" 1.14 +DEPENDS="nettle" 1.15 1.16 # Rules to gen a SliTaz package suitable for Tazpkg. 1.17 genpkg_rules() 1.18 { 1.19 mkdir -p $fs/usr/lib 1.20 - cp -a $_pkg/usr/include $fs/usr 1.21 + cp -a $install/usr/include $fs/usr 1.22 + cp -a $install/usr/lib/*a $fs/usr/lib 1.23 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.24 } 1.25 -
2.1 --- a/nettle/receipt Wed Jun 06 10:23:26 2012 +0000 2.2 +++ b/nettle/receipt Wed Jun 06 10:27:03 2012 +0000 2.3 @@ -2,28 +2,29 @@ 2.4 2.5 PACKAGE="nettle" 2.6 VERSION="2.4" 2.7 -CATEGORY="system-tools" 2.8 +CATEGORY="security" 2.9 SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context" 2.10 MAINTAINER="devl547@gmail.com" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/" 2.13 +WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL" 2.14 + 2.15 DEPENDS="gmp" 2.16 BUILD_DEPENDS="gmp-dev" 2.17 -TARBALL="$PACKAGE-$VERSION.tar.gz" 2.18 -WEB_SITE="http://www.lysator.liu.se/~nisse/nettle" 2.19 -WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL" 2.20 2.21 # Rules to configure and make the package. 2.22 compile_rules() 2.23 { 2.24 - cd $src 2.25 - ./configure \ 2.26 - --enable-shared \ 2.27 - $CONFIGURE_ARGS && 2.28 - make $MAKEFLAGS && make install 2.29 + ./configure --libdir=/usr/lib \ 2.30 + --enable-shared \ 2.31 + $CONFIGURE_ARGS && 2.32 + make && make DESTDIR=$DESTDIR install 2.33 } 2.34 2.35 # Rules to gen a SliTaz package suitable for Tazpkg. 2.36 genpkg_rules() 2.37 { 2.38 - mkdir -p $fs/usr/lib 2.39 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.40 + mkdir -p $fs/usr/lib 2.41 + cp -a $install/usr/bin $fs/usr 2.42 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.43 }