wok-next diff libbluray/receipt @ rev 20203

qca: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 22:41:01 2017 +0100 (2017-11-03)
parents
children 0ec6086e21d6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libbluray/receipt	Fri Nov 03 22:41:01 2017 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="libbluray"
     1.7 +VERSION="1.0.0"
     1.8 +CATEGORY="libs"
     1.9 +SHORT_DESC="Blu-Ray Discs playback library"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="http://www.videolan.org/developers/libbluray.html"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WGET_URL="ftp://ftp.videolan.org/pub/videolan/libbluray/$VERSION/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="libxml2-dev freetype-dev fontconfig-dev"
    1.18 +SPLIT="libbluray-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure \
    1.24 +		--disable-bdjava \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make && make install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	case $PACKAGE in
    1.33 +		libbluray)
    1.34 +			copy @std
    1.35 +			DEPENDS="fontconfig freetype libxml2"
    1.36 +			;;
    1.37 +		*-dev)
    1.38 +			copy @dev
    1.39 +			DEPENDS="libbluray bzip2-dev fontconfig-dev freetype-dev glib-dev \
    1.40 +			harfbuzz-dev libpng16-dev libxml2-dev pcre-dev xz-dev zlib-dev"
    1.41 +			;;
    1.42 +	esac
    1.43 +}