wok-4.x view libdvdread-dev/receipt @ rev 9640

Fixed last commit.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Apr 26 19:48:46 2011 +0000 (2011-04-26)
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 }