wok view libraw1394/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
parents | 6a0e8480a13b |
children | e6abe3abd527 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libraw1394"
4 VERSION="2.1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="IEEE 1394 is a standard defining a high speed serial bus."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 mkdir -p $fs/dev
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 # Device node
41 mknod -m 0666 $fs/dev/raw1394 c 171 0
42 chown root.root $fs/dev/raw1394
43 }