wok-next annotate libdv/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
rev   line source
al@19829 1 # SliTaz package receipt v2.
pankso@295 2
pankso@295 3 PACKAGE="libdv"
pankso@295 4 VERSION="1.0.0"
pankso@295 5 CATEGORY="multimedia"
al@19829 6 SHORT_DESC="Software codec for DV video"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15472 8 LICENSE="LGPL2.1"
al@19829 9 WEB_SITE="http://libdv.sourceforge.net/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libdv.html"
al@19829 11
pankso@295 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@295 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@295 14
al@21087 15 # With no effect on final binaries: libx11-dev libxt-dev sdl-dev
al@19829 16 BUILD_DEPENDS="gfortran"
al@21020 17 SPLIT="$PACKAGE-dev"
pankso@9794 18
al@20575 19 compile_rules() {
al@19830 20 tazpkg -r popt
al@19830 21
pankso@295 22 ./configure \
al@19829 23 --disable-xv \
al@19829 24 --disable-static \
al@19829 25 $CONFIGURE_ARGS &&
al@20575 26 fix libtool &&
al@20575 27 make &&
al@20575 28 make install || return 1
al@19829 29
al@20575 30 cook_pick_docs README*
pankso@295 31 }
pankso@295 32
al@20575 33 genpkg_rules() {
al@19829 34 case $PACKAGE in
al@19829 35 libdv) copy @std;;
al@19829 36 *-dev) copy @dev;;
al@19829 37 esac
pankso@295 38 }