wok diff libdvdread-dev/receipt @ rev 17822

Up cups (2.0.2)
author Richard Dunbar <mojo@slitaz.org>
date Sun Mar 22 12:32:24 2015 -0400 (2015-03-22)
parents 277fa3378fa7
children fc9203de5ff2
line diff
     1.1 --- a/libdvdread-dev/receipt	Fri May 20 20:11:13 2011 +0000
     1.2 +++ b/libdvdread-dev/receipt	Sun Mar 22 12:32:24 2015 -0400
     1.3 @@ -5,33 +5,35 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Librairy for reading DVDs dev files."
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  WANTED="libdvdread"
     1.9 +WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
    1.10 +
    1.11  DEPENDS="libdvdread"
    1.12 -WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
    1.13  
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr
    1.17  	
    1.18  	# Copying include dir if existes
    1.19 -	if [ -d "$_pkg/usr/include" ]; then
    1.20 -		cp -a $_pkg/usr/include $fs/usr
    1.21 +	if [ -d "$install/usr/include" ]; then
    1.22 +		cp -a $install/usr/include $fs/usr
    1.23  	fi
    1.24  
    1.25  	# Copying bin dir if existes
    1.26 -	if [ -d "$_pkg/usr/bin" ]; then
    1.27 -		cp -a $_pkg/usr/bin $fs/usr
    1.28 +	if [ -d "$install/usr/bin" ]; then
    1.29 +		cp -a $install/usr/bin $fs/usr
    1.30  	fi
    1.31  
    1.32  	# Copying pkgconfig dir if existes
    1.33 -	if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
    1.34 -		test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
    1.35 -		cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.36 +	if [ -d "$install/usr/lib/pkgconfig" ]; then
    1.37 +		test -d $install/usr/lib/ || mkdir -p $install/usr/lib/
    1.38 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.39  	fi
    1.40  	
    1.41  	# Copying static libs if existes
    1.42 -	if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
    1.43 +	if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
    1.44  		test -d $fs/usr/lib || mkdir -p $fs/usr/lib
    1.45 -		cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.46 +		cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.47  	fi
    1.48  }