wok-next diff libdvdcss-dev/receipt @ rev 9659

make: fix receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 01 08:10:43 2011 +0200 (2011-05-01)
parents a075ff895254
children 71e1d1830db9
line diff
     1.1 --- a/libdvdcss-dev/receipt	Tue May 13 09:50:02 2008 +0200
     1.2 +++ b/libdvdcss-dev/receipt	Sun May 01 08:10:43 2011 +0200
     1.3 @@ -1,13 +1,12 @@
     1.4  # SliTaz package receipt."
     1.5  
     1.6  PACKAGE="libdvdcss-dev"
     1.7 -VERSION="1.2.9"
     1.8 +VERSION="1.2.10"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Read DVDs dev files."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  DEPENDS="libdvdcss"
    1.13  WANTED="libdvdcss"
    1.14 -TARBALL="libdvdcss-1.2.9.tar.gz"
    1.15  WEB_SITE="http://www.videolan.org/developers/libdvdcss.html"
    1.16  
    1.17  genpkg_rules()
    1.18 @@ -21,13 +20,13 @@
    1.19  	
    1.20  	# Copying pkgconfig dir if existes
    1.21  	if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
    1.22 -		test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
    1.23 -		cp -a $_pkg/usr/lib/pkgconfig $fs/usr/usr/lib
    1.24 +		mkdir -p $fs/usr/lib/
    1.25 +		cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.26  	fi
    1.27  	
    1.28  	# Copying static libs if existes
    1.29  	if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
    1.30 -		test -d $fs/usr/lib || mkdir -p $fs/usr/lib
    1.31 +		mkdir -p $fs/usr/lib
    1.32  		cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.33  	fi
    1.34  }