wok-6.x view libdvdcss-dev/receipt @ rev 13161

get-wifi-firmware: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 28 09:58:01 2012 +0200 (2012-07-28)
parents 6a19590b0a9d
children 4904e3d374a9
line source
1 # SliTaz package receipt."
3 PACKAGE="libdvdcss-dev"
4 VERSION="1.2.12"
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 "$install/usr/include" ]; then
18 cp -a $install/usr/include $fs/usr
19 fi
21 # Copying pkgconfig dir if existes
22 if [ -d "$install/usr/lib/pkgconfig" ]; then
23 mkdir -p $fs/usr/lib/
24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
25 fi
27 # Copying static libs if existes
28 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.*a $fs/usr/lib
31 fi
32 }