wok annotate libavc1394/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 65d7d867e0c1
children 69e1e705f038
rev   line source
pankso@295 1 # SliTaz package receipt.
pankso@295 2
pankso@295 3 PACKAGE="libavc1394"
slaxemulator@12383 4 VERSION="0.5.4"
pankso@295 5 CATEGORY="system-tools"
pankso@295 6 SHORT_DESC="Interface for the 1394 Trade Association AV/C Digital Interface."
pankso@295 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1"
pankso@295 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24978 10 WEB_SITE="https://sourceforge.net/projects/libavc1394"
pankso@295 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@295 12
pascal@14714 13 DEPENDS="libraw1394"
pascal@14714 14 BUILD_DEPENDS="libraw1394-dev"
pascal@14714 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/libavc1394/files/libavc1394/ 2>/dev/null | \
pascal@24411 20 sed '/scope="row/!d;/tar/!d;s|.*/libavc1394-||;s|.tar.*||;q'
pascal@24411 21 }
pascal@24411 22
pankso@295 23 # Rules to configure and make the package.
pankso@295 24 compile_rules()
pankso@295 25 {
pankso@295 26 cd $src
pankso@295 27 ./configure \
pankso@295 28 --prefix=/usr \
pankso@295 29 --mandir=/usr/share/man \
pankso@295 30 $CONFIGURE_ARGS
pankso@295 31 make
slaxemulator@12383 32 make DESTDIR=$DESTDIR install
pankso@295 33 }
pankso@295 34
pankso@295 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@295 36 genpkg_rules()
pankso@295 37 {
pankso@295 38 mkdir -p $fs/usr/lib
pascal@14714 39 cp -a $install/usr/bin $fs/usr
pascal@14714 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@295 41 }
pankso@295 42