wok-next view libdvdcss/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 4904e3d374a9
children 9e5dca6702bf
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdvdcss"
4 VERSION="1.2.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="Accessing DVDs like a block device"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.videolan.org/developers/libdvdcss.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.videolan.org/pub/videolan/libdvdcss/$VERSION/$TARBALL"
14 SPLIT="libdvdcss-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libdvdcss)
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 ;;
30 *-dev)
31 mkdir -p $fs/usr
33 # Copying include dir if existes
34 if [ -d "$install/usr/include" ]; then
35 cp -a $install/usr/include $fs/usr
36 fi
38 # Copying pkgconfig dir if existes
39 if [ -d "$install/usr/lib/pkgconfig" ]; then
40 mkdir -p $fs/usr/lib/
41 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
42 fi
44 # Copying static libs if existes
45 if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.*a $fs/usr/lib
48 fi
49 ;;
50 esac
51 }