wok rev 22261

libdvdread-dev: install dvdread.pc in pkgconfig directory
author Richard Dunbar <mojo@slitaz.org>
date Tue Nov 12 23:58:25 2019 -0500 (2019-11-12)
parents d232150a1d6a
children 47787b4928e9
files libdvdread-dev/receipt
line diff
     1.1 --- a/libdvdread-dev/receipt	Tue Nov 12 17:37:07 2019 +0100
     1.2 +++ b/libdvdread-dev/receipt	Tue Nov 12 23:58:25 2019 -0500
     1.3 @@ -13,27 +13,7 @@
     1.4  
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr
     1.8 -	
     1.9 -	# Copying include directory, if exists
    1.10 -	if [ -d "$install/usr/include" ]; then
    1.11 -		cp -a $install/usr/include	$fs/usr
    1.12 -	fi
    1.13 -
    1.14 -	# Copying bin directory, if exists
    1.15 -	if [ -d "$install/usr/bin" ]; then
    1.16 -		cp -a $install/usr/bin		$fs/usr
    1.17 -	fi
    1.18 -
    1.19 -	# Copying pkgconfig directory, if exists
    1.20 -	if [ -d "$install/usr/lib/pkgconfig" ]; then
    1.21 -		test -d $install/usr/lib/ || mkdir -p $install/usr/lib/
    1.22 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 -	fi
    1.24 -	
    1.25 -	# Copying static libraries, if exist
    1.26 -	if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
    1.27 -		test -d $fs/usr/lib || mkdir -p $fs/usr/lib
    1.28 -		cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.29 -	fi
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	cp -a $install/usr/include $fs/usr
    1.32 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.33  }