wok diff nettle/receipt @ rev 13497

Up: spacefm (0.8.0) With an autostart desktop file to replace pcmanfm desktop handler and can automount media using the kernel polling (no udisks or gvfs)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Oct 13 10:49:28 2012 +0200 (2012-10-13)
parents bcdfb30b149b
children d2414b55d081
line diff
     1.1 --- a/nettle/receipt	Wed Nov 09 12:24:28 2011 +0000
     1.2 +++ b/nettle/receipt	Sat Oct 13 10:49:28 2012 +0200
     1.3 @@ -2,28 +2,29 @@
     1.4  
     1.5  PACKAGE="nettle"
     1.6  VERSION="2.4"
     1.7 -CATEGORY="system-tools"
     1.8 +CATEGORY="security"
     1.9  SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context"
    1.10  MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
    1.13 +WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL"
    1.14 +
    1.15  DEPENDS="gmp"
    1.16  BUILD_DEPENDS="gmp-dev"
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.lysator.liu.se/~nisse/nettle"
    1.19 -WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25 -	./configure \
    1.26 -	--enable-shared \
    1.27 -	$CONFIGURE_ARGS &&
    1.28 -	make $MAKEFLAGS && make install
    1.29 +	./configure --libdir=/usr/lib \
    1.30 +		--enable-shared \
    1.31 +		$CONFIGURE_ARGS && 
    1.32 +	make && make DESTDIR=$DESTDIR install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr/lib 
    1.39 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.40 +	mkdir -p $fs/usr/lib
    1.41 +	cp -a $install/usr/bin $fs/usr
    1.42 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.43  }