wok annotate libdvdcss-dev/receipt @ rev 5698

Up: fetchmail (6.3.17)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jun 18 16:09:12 2010 +0200 (2010-06-18)
parents 6a9428a46323
children 6a19590b0a9d
rev   line source
erjo@621 1 # SliTaz package receipt."
erjo@621 2
erjo@621 3 PACKAGE="libdvdcss-dev"
erjo@621 4 VERSION="1.2.9"
erjo@621 5 CATEGORY="system-tools"
erjo@621 6 SHORT_DESC="Read DVDs dev files."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@621 8 DEPENDS="libdvdcss"
erjo@621 9 WANTED="libdvdcss"
erjo@621 10 TARBALL="libdvdcss-1.2.9.tar.gz"
erjo@621 11 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html"
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 }