wok view libdvdread-dev/receipt @ rev 10836
Add idesk (may be used for a kids flavor)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 08 23:19:22 2011 +0200 (2011-06-08) |
parents | 129bb5b11a7e |
children | 7b3764f928eb |
line source
1 # SliTaz package receipt."
3 PACKAGE="libdvdread-dev"
4 VERSION="4.1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Librairy for reading DVDs dev files."
7 MAINTAINER="erjo@slitaz.org"
8 WANTED="libdvdread"
9 DEPENDS="libdvdread"
10 WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr
16 # Copying include dir if existes
17 if [ -d "$_pkg/usr/include" ]; then
18 cp -a $_pkg/usr/include $fs/usr
19 fi
21 # Copying bin dir if existes
22 if [ -d "$_pkg/usr/bin" ]; then
23 cp -a $_pkg/usr/bin $fs/usr
24 fi
26 # Copying pkgconfig dir if existes
27 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
28 test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
30 fi
32 # Copying static libs if existes
33 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
34 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
36 fi
37 }