wok annotate libdvdread-dev/receipt @ rev 10040

Up: GConf to 2.32.3. Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 01:59:04 2011 +0000 (2011-05-20)
parents a075ff895254
children 277fa3378fa7
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 WEB_SITE="http://www.dtek.chalmers.se/groups/dvd/"
erjo@621 11
erjo@621 12 genpkg_rules()
erjo@621 13 {
erjo@621 14 mkdir -p $fs/usr
erjo@621 15
erjo@621 16 # Copying include dir if existes
erjo@621 17 if [ -d "$_pkg/usr/include" ]; then
erjo@621 18 cp -a $_pkg/usr/include $fs/usr
erjo@621 19 fi
erjo@621 20
erjo@621 21 # Copying pkgconfig dir if existes
erjo@621 22 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
erjo@621 23 test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
erjo@621 24 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/usr/lib
erjo@621 25 fi
erjo@621 26
erjo@621 27 # Copying static libs if existes
erjo@621 28 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
erjo@621 29 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
erjo@621 30 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
erjo@621 31 fi
erjo@621 32 }