wok view libdvdcss-dev/receipt @ rev 14714

lib[a-n]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 10:41:23 2013 +0200 (2013-06-11)
parents 71e1d1830db9
children 8ed62ecac0c7
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 LICENSE="GPL2"
9 WANTED="libdvdcss"
10 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html"
12 DEPENDS="libdvdcss"
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr
18 # Copying include dir if existes
19 if [ -d "$install/usr/include" ]; then
20 cp -a $install/usr/include $fs/usr
21 fi
23 # Copying pkgconfig dir if existes
24 if [ -d "$install/usr/lib/pkgconfig" ]; then
25 mkdir -p $fs/usr/lib/
26 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
27 fi
29 # Copying static libs if existes
30 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.*a $fs/usr/lib
33 fi
34 }