wok view libdvdread-dev/receipt @ rev 9913
gobby: fix bdeps and clean-up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 20:10:49 2011 +0200 (2011-05-17) |
parents | a075ff895254 |
children | 277fa3378fa7 |
line source
1 # SliTaz package receipt."
3 PACKAGE="libdvdread-dev"
4 VERSION="0.9.7"
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.dtek.chalmers.se/groups/dvd/"
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 pkgconfig dir if existes
22 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
23 test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
24 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/usr/lib
25 fi
27 # Copying static libs if existes
28 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
29 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
31 fi
32 }