wok annotate libdvdcss-dev/receipt @ rev 6603
Up: python-cheetah to 2.4.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 16:56:31 2010 +0000 (2010-10-09) |
parents | a075ff895254 |
children | 71e1d1830db9 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt." |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="libdvdcss-dev" |
slaxemulator@6208 | 4 VERSION="1.2.10" |
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 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" |
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 |
slaxemulator@6208 | 23 mkdir -p $fs/usr/lib/ |
slaxemulator@6208 | 24 cp -a $_pkg/usr/lib/pkgconfig $fs/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 |
slaxemulator@6208 | 29 mkdir -p $fs/usr/lib |
erjo@621 | 30 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
erjo@621 | 31 fi |
erjo@621 | 32 } |