wok diff freetds/receipt @ rev 15958

Add nsd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 23 20:33:22 2014 +0000 (2014-02-23)
parents 53e1828da719
children addb674a634f
line diff
     1.1 --- a/freetds/receipt	Wed Nov 17 03:47:52 2010 +0000
     1.2 +++ b/freetds/receipt	Sun Feb 23 20:33:22 2014 +0000
     1.3 @@ -5,28 +5,31 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 -BUILD_DEPENDS="readline-dev"
     1.8 -DEPENDS="libunixODBC ncurses readline"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.freetds.org/"
    1.12  WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL"
    1.13  
    1.14 +DEPENDS="libunixODBC ncurses readline"
    1.15 +BUILD_DEPENDS="readline-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 -	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.23 +		--sysconfdir=/etc --mandir=/usr/share/man \
    1.24 +		$CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
    1.25  	make &&
    1.26 -	make DESTDIR=$PWD/_pkg install
    1.27 +	make DESTDIR=$DESTDIR install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr/lib
    1.34 -	cp -a $_pkg/etc $fs
    1.35 -	cp -a $_pkg/usr/bin $fs/usr
    1.36 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +	cp -a $install/etc $fs
    1.38 +	cp -a $install/usr/bin $fs/usr
    1.39 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.40  }
    1.41