wok-4.x annotate libdvdread-dev/receipt @ rev 11400
Fix: typo in linux && linux-libre receipts (thanks to godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 11 02:12:34 2011 +0100 (2011-12-11) |
parents | 129bb5b11a7e |
children |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt." |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="libdvdread-dev" |
slaxemulator@10162 | 4 VERSION="4.1.3" |
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" |
slaxemulator@10162 | 10 WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" |
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 |
slaxemulator@10162 | 20 |
slaxemulator@10162 | 21 # Copying bin dir if existes |
slaxemulator@10162 | 22 if [ -d "$_pkg/usr/bin" ]; then |
slaxemulator@10162 | 23 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@10162 | 24 fi |
slaxemulator@10162 | 25 |
erjo@621 | 26 # Copying pkgconfig dir if existes |
erjo@621 | 27 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then |
erjo@621 | 28 test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/ |
slaxemulator@10162 | 29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
erjo@621 | 30 fi |
erjo@621 | 31 |
erjo@621 | 32 # Copying static libs if existes |
erjo@621 | 33 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then |
erjo@621 | 34 test -d $fs/usr/lib || mkdir -p $fs/usr/lib |
erjo@621 | 35 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
erjo@621 | 36 fi |
erjo@621 | 37 } |