wok rev 15154

libdvdread, freetds: filter wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 16:47:48 2013 +0000 (2013-08-15)
parents 50939119e32c
children 40901e291d86
files freetds-dev/receipt freetds/receipt libdvdread-dev/receipt libdvdread/receipt
line diff
     1.1 --- a/freetds-dev/receipt	Thu Aug 15 16:19:38 2013 +0000
     1.2 +++ b/freetds-dev/receipt	Thu Aug 15 16:47:48 2013 +0000
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 -DEPENDS="freetds"
     1.8 +LICENSE="GPL2"
     1.9  WEB_SITE="http://www.freetds.org/"
    1.10  WANTED="freetds"
    1.11  
    1.12 +DEPENDS="freetds"
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17  	mkdir -p $fs/usr/lib
    1.18 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.19 -	cp -a $_pkg/usr/include $fs/usr
    1.20 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $install/usr/include $fs/usr
    1.22  }
     2.1 --- a/freetds/receipt	Thu Aug 15 16:19:38 2013 +0000
     2.2 +++ b/freetds/receipt	Thu Aug 15 16:47:48 2013 +0000
     2.3 @@ -5,28 +5,31 @@
     2.4  CATEGORY="system-tools"
     2.5  SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries."
     2.6  MAINTAINER="pascal.bellard@slitaz.org"
     2.7 -BUILD_DEPENDS="readline-dev"
     2.8 -DEPENDS="libunixODBC ncurses readline"
     2.9 +LICENSE="GPL2"
    2.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.11  WEB_SITE="http://www.freetds.org/"
    2.12  WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL"
    2.13  
    2.14 +DEPENDS="libunixODBC ncurses readline"
    2.15 +BUILD_DEPENDS="readline-dev"
    2.16 +
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
    2.20  	cd $src
    2.21  	./configure --prefix=/usr --infodir=/usr/share/info \
    2.22 -	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.23 +		--sysconfdir=/etc --mandir=/usr/share/man \
    2.24 +		$CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
    2.25  	make &&
    2.26 -	make DESTDIR=$PWD/_pkg install
    2.27 +	make DESTDIR=$DESTDIR install
    2.28  }
    2.29  
    2.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.31  genpkg_rules()
    2.32  {
    2.33  	mkdir -p $fs/usr/lib
    2.34 -	cp -a $_pkg/etc $fs
    2.35 -	cp -a $_pkg/usr/bin $fs/usr
    2.36 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.37 +	cp -a $install/etc $fs
    2.38 +	cp -a $install/usr/bin $fs/usr
    2.39 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.40  }
    2.41  
     3.1 --- a/libdvdread-dev/receipt	Thu Aug 15 16:19:38 2013 +0000
     3.2 +++ b/libdvdread-dev/receipt	Thu Aug 15 16:47:48 2013 +0000
     3.3 @@ -5,33 +5,35 @@
     3.4  CATEGORY="system-tools"
     3.5  SHORT_DESC="Librairy for reading DVDs dev files."
     3.6  MAINTAINER="erjo@slitaz.org"
     3.7 +LICENSE="GPL2"
     3.8  WANTED="libdvdread"
     3.9 +WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
    3.10 +
    3.11  DEPENDS="libdvdread"
    3.12 -WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
    3.13  
    3.14  genpkg_rules()
    3.15  {
    3.16  	mkdir -p $fs/usr
    3.17  	
    3.18  	# Copying include dir if existes
    3.19 -	if [ -d "$_pkg/usr/include" ]; then
    3.20 -		cp -a $_pkg/usr/include $fs/usr
    3.21 +	if [ -d "$install/usr/include" ]; then
    3.22 +		cp -a $install/usr/include $fs/usr
    3.23  	fi
    3.24  
    3.25  	# Copying bin dir if existes
    3.26 -	if [ -d "$_pkg/usr/bin" ]; then
    3.27 -		cp -a $_pkg/usr/bin $fs/usr
    3.28 +	if [ -d "$install/usr/bin" ]; then
    3.29 +		cp -a $install/usr/bin $fs/usr
    3.30  	fi
    3.31  
    3.32  	# Copying pkgconfig dir if existes
    3.33 -	if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
    3.34 -		test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
    3.35 -		cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    3.36 +	if [ -d "$install/usr/lib/pkgconfig" ]; then
    3.37 +		test -d $install/usr/lib/ || mkdir -p $install/usr/lib/
    3.38 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.39  	fi
    3.40  	
    3.41  	# Copying static libs if existes
    3.42 -	if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
    3.43 +	if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
    3.44  		test -d $fs/usr/lib || mkdir -p $fs/usr/lib
    3.45 -		cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    3.46 +		cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.47  	fi
    3.48  }
     4.1 --- a/libdvdread/receipt	Thu Aug 15 16:19:38 2013 +0000
     4.2 +++ b/libdvdread/receipt	Thu Aug 15 16:47:48 2013 +0000
     4.3 @@ -5,23 +5,26 @@
     4.4  CATEGORY="system-tools"
     4.5  SHORT_DESC="Librairy for reading DVDs"
     4.6  MAINTAINER="erjo@slitaz.org"
     4.7 -BUILD_DEPENDS="libdvdcss-dev"
     4.8 +LICENSE="GPL2"
     4.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.10  WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
    4.11  WGET_URL="${WEB_SITE}${TARBALL}"
    4.12  
    4.13 +BUILD_DEPENDS="libdvdcss-dev"
    4.14 +
    4.15  # Rules to configure and make the package.
    4.16  compile_rules()
    4.17  {
    4.18  	cd $src
    4.19  	patch -Np1 -i $stuff/DVDFileStat.patch
    4.20 -	./autogen.sh $CONFIGURE_ARGS && make && make install
    4.21 +	./autogen.sh $CONFIGURE_ARGS 2>&1 | grep -v /libtool &&
    4.22 +	make && make install
    4.23  }
    4.24  
    4.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.26  genpkg_rules()
    4.27  {
    4.28  	mkdir -p $fs/usr/lib
    4.29 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    4.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.31  }
    4.32