wok view libiec61883/receipt @ rev 24980

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 09:19:55 2022 +0000 (2022-05-08)
parents 34e801e0eb52
children 56e6b4e63668
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 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
11 WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
12 #WGET_URL="http://www.linux1394.org/dl/$TARBALL"
13 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
15 DEPENDS="libraw1394"
16 BUILD_DEPENDS="libraw1394 libraw1394-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib $fs/dev
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }