wok-current annotate libdvdread-dev/receipt @ rev 621

Add: lsdvd, libdvdread, lidvdread-dev, libdvdcss, libdvdcss-dev, usbutils, smartmontools, dmidecode, ddrecue, dd_recue, lsscsi
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Apr 20 02:19:09 2008 +0200 (2008-04-20)
parents
children a075ff895254
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@621 7 MAINTAINER="Erjo <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 }