wok-6.x diff nettle/receipt @ rev 13743

Add ortp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 28 23:33:03 2012 +0100 (2012-12-28)
parents bcdfb30b149b
children d2414b55d081
line diff
     1.1 --- a/nettle/receipt	Wed Nov 09 12:24:28 2011 +0000
     1.2 +++ b/nettle/receipt	Fri Dec 28 23:33:03 2012 +0100
     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  }