wok view libavc1394/receipt @ rev 24417
created recipes for perl-cairo-gobject, perl-glib-object-introspection and perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:16:47 2022 +0100 (2022-02-11) |
parents | 86790a278e70 |
children | 00e3b45c063b |
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 }