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

opus: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 27 16:05:28 2014 +0100 (2014-11-27)
parents 4904e3d374a9
children c5acfdf7d5ad
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 pkg-config"
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 }