wok-stable view libdvdcss-dev/receipt @ rev 2786
Up: slitaz-eeepc (1.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 21:57:44 2009 +0200 (2009-04-27) |
parents | 6a9428a46323 |
children | 6a19590b0a9d |
line source
1 # SliTaz package receipt."
3 PACKAGE="libdvdcss-dev"
4 VERSION="1.2.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Read DVDs dev files."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libdvdcss"
9 WANTED="libdvdcss"
10 TARBALL="libdvdcss-1.2.9.tar.gz"
11 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html"
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr
17 # Copying include dir if existes
18 if [ -d "$_pkg/usr/include" ]; then
19 cp -a $_pkg/usr/include $fs/usr
20 fi
22 # Copying pkgconfig dir if existes
23 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
24 test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/
25 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/usr/lib
26 fi
28 # Copying static libs if existes
29 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
30 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
32 fi
33 }