wok-stable annotate libdvdcss-dev/receipt @ rev 704
x11vnc: vm exit support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 02 09:52:38 2008 +0000 (2008-05-02) |
parents | |
children | a075ff895254 |
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@621 | 7 MAINTAINER="Erjo <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 } |