wok annotate libdvdread-dev/receipt @ rev 5074

get-flash-plugin: re-export firefox libs if not found
author Rohit Joshi <jozee@slitaz.org>
date Fri Mar 12 11:43:55 2010 +0000 (2010-03-12)
parents 6a9428a46323
children 129bb5b11a7e
rev   line source
erjo@621 1 # SliTaz package receipt."
erjo@621 2
erjo@621 3 PACKAGE="libdvdread-dev"
erjo@621 4 VERSION="0.9.7"
erjo@621 5 CATEGORY="system-tools"
erjo@621 6 SHORT_DESC="Librairy for reading DVDs dev files."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@621 8 WANTED="libdvdread"
erjo@621 9 DEPENDS="libdvdread"
erjo@621 10 TARBALL="libdvdread-0.9.7.tar.gz"
erjo@621 11 WEB_SITE="http://www.dtek.chalmers.se/groups/dvd/"
erjo@621 12
erjo@621 13 genpkg_rules()
erjo@621 14 {
erjo@621 15 mkdir -p $fs/usr
erjo@621 16
erjo@621 17 # Copying include dir if existes
erjo@621 18 if [ -d "$_pkg/usr/include" ]; then
erjo@621 19 cp -a $_pkg/usr/include $fs/usr
erjo@621 20 fi
erjo@621 21
erjo@621 22 # Copying pkgconfig dir if existes
erjo@621 23 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
erjo@621 24 test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
erjo@621 25 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/usr/lib
erjo@621 26 fi
erjo@621 27
erjo@621 28 # Copying static libs if existes
erjo@621 29 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
erjo@621 30 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
erjo@621 31 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
erjo@621 32 fi
erjo@621 33 }