wok-next view libbluray/receipt @ rev 20428

Port changes from cooking wok: fake-sane, sane-backends.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 13:17:46 2018 +0200 (2018-01-24)
parents
children 0ec6086e21d6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libbluray"
4 VERSION="1.0.0"
5 CATEGORY="libs"
6 SHORT_DESC="Blu-Ray Discs playback library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.videolan.org/developers/libbluray.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.videolan.org/pub/videolan/libbluray/$VERSION/$TARBALL"
14 BUILD_DEPENDS="libxml2-dev freetype-dev fontconfig-dev"
15 SPLIT="libbluray-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-bdjava \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 libbluray)
31 copy @std
32 DEPENDS="fontconfig freetype libxml2"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libbluray bzip2-dev fontconfig-dev freetype-dev glib-dev \
37 harfbuzz-dev libpng16-dev libxml2-dev pcre-dev xz-dev zlib-dev"
38 ;;
39 esac
40 }