wok-6.x annotate libdv/receipt @ rev 24503

updated dulwich (0.19.14 -> 0.19.16)
author Hans-G?nter Theisgen
date Sun Feb 20 10:36:29 2022 +0100 (2022-02-20)
parents 6c3718ca17b6
children 7dd01dedad38
rev   line source
pankso@295 1 # SliTaz package receipt.
pankso@295 2
pankso@295 3 PACKAGE="libdv"
pankso@295 4 VERSION="1.0.0"
pankso@295 5 CATEGORY="multimedia"
pankso@295 6 SHORT_DESC="Software codec for DV video."
pankso@295 7 MAINTAINER="pankso@slitaz.org"
pascal@15472 8 LICENSE="LGPL2.1"
pankso@295 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@295 10 WEB_SITE="http://libdv.sourceforge.net/"
pankso@295 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@295 12
pankso@9794 13 DEPENDS="popt xorg-libXv"
pankso@9794 14 BUILD_DEPENDS="gtk+-dev popt-dev xorg-libXv-dev"
pankso@9794 15
pascal@24411 16 # What is the latest version available today?
pascal@24411 17 current_version()
pascal@24411 18 {
pascal@24411 19 wget -O - https://sourceforge.net/projects/libdv/files/libdv/ 2>/dev/null | \
pascal@24411 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24411 21 sed '/scope="row/!d;s|.*/libdv/||;s|/.*||;q'
pascal@24411 22 }
pascal@24411 23
pankso@295 24 # Rules to configure and make the package.
pankso@295 25 compile_rules()
pankso@295 26 {
pankso@295 27 cd $src
pankso@295 28 ./configure \
pankso@295 29 --prefix=/usr \
pankso@295 30 --mandir=/usr/share/man \
pankso@295 31 $CONFIGURE_ARGS
pankso@295 32 make
pascal@15472 33 make DESTDIR=$DESTDIR install
pankso@295 34 }
pankso@295 35
pankso@295 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@295 37 genpkg_rules()
pankso@295 38 {
pankso@295 39 mkdir -p $fs/usr/lib
pascal@15472 40 cp -a $install/usr/bin $fs/usr
pascal@15472 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@295 42 }
pankso@295 43