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

Add: apache-mod-wsgi'
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun May 15 23:51:51 2011 +0200 (2011-05-15)
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 }