wok view libdvdcss-dev/receipt @ rev 8094
linux-module-headers: fix /usr/src/linux creation
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 22 18:04:51 2011 +0100 (2011-01-22) |
parents | a075ff895254 |
children | 71e1d1830db9 |
line source
1 # SliTaz package receipt."
3 PACKAGE="libdvdcss-dev"
4 VERSION="1.2.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="Read DVDs dev files."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libdvdcss"
9 WANTED="libdvdcss"
10 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html"
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 mkdir -p $fs/usr/lib/
24 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
25 fi
27 # Copying static libs if existes
28 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
31 fi
32 }