wok-current annotate libdvdcss-dev/receipt @ rev 5659
Up: libtheora (1.1.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun May 30 02:47:06 2010 +0000 (2010-05-30) |
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 } |