wok annotate libdv/receipt @ rev 25779

Up fdutils (5.6), lite (1.11), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 09:24:30 2024 +0000 (2 months ago)
parents 7dd01dedad38
children
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"
pascal@25460 10 WEB_SITE="https://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@25606 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;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