wok-next view libdvdcss-dev/receipt @ rev 17559

slim: why force base theme on update
author Richard Dunbar <mojo@slitaz.org>
date Thu Feb 05 21:41:45 2015 -0500 (2015-02-05)
parents 4904e3d374a9
children
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 }