wok-current view libiec61883/receipt @ rev 25204
updated python-mock (1.0.1 -> 3.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:28:15 2022 +0100 (2022-07-13) |
parents | 9b180a3071fb |
children | 694752fdbc0d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libiec61883"
4 VERSION="1.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="libiec61883 is a standard defining a high speed serial bus."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
11 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
13 DEPENDS="libraw1394"
14 BUILD_DEPENDS="libraw1394 libraw1394-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/dev
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }