wok-current view libavc1394/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (22 months ago) |
parents | 00e3b45c063b |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="libavc1394"
4 VERSION="0.5.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Interface for the 1394 Trade Association AV/C Digital Interface."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/libavc1394/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libraw1394"
14 BUILD_DEPENDS="libraw1394-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/libavc1394/files/libavc1394/ 2>/dev/null | \
20 sed '/scope="row/!d;/tar/!d;s|.*/libavc1394-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS
31 make
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }