wok-next annotate libbluray/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents e7a485521d6a
children 84891766f573
rev   line source
al@19850 1 # SliTaz package receipt v2.
al@19850 2
al@19850 3 PACKAGE="libbluray"
al@20905 4 VERSION="1.0.2"
al@19850 5 CATEGORY="libs"
al@19850 6 SHORT_DESC="Blu-Ray Discs playback library"
al@19850 7 MAINTAINER="al.bobylev@gmail.com"
al@19850 8 LICENSE="LGPL2.1"
al@19850 9 WEB_SITE="http://www.videolan.org/developers/libbluray.html"
al@19850 10
al@19850 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19850 12 WGET_URL="ftp://ftp.videolan.org/pub/videolan/libbluray/$VERSION/$TARBALL"
al@19850 13
al@19850 14 BUILD_DEPENDS="libxml2-dev freetype-dev fontconfig-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
al@19850 16
al@20575 17 compile_rules() {
al@19850 18 ./configure \
al@20905 19 --disable-bdjava-jar \
al@20905 20 --disable-static \
al@19850 21 $CONFIGURE_ARGS &&
al@20575 22 fix libtool &&
al@20575 23 make &&
al@20575 24 make install
al@19850 25 }
al@19850 26
al@20575 27 genpkg_rules() {
al@19850 28 case $PACKAGE in
al@19850 29 libbluray)
al@19850 30 copy @std
al@20905 31 DEPENDS="fontconfig freetype libxml2"
al@19850 32 ;;
al@19850 33 *-dev)
al@19850 34 copy @dev
al@20749 35 DEPENDS="libbluray \
al@20749 36 fontconfig-dev freetype-dev libxml2-dev"
al@19850 37 ;;
al@19850 38 esac
al@19850 39 }