wok-current annotate 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 |
rev | line source |
---|---|
pankso@311 | 1 # SliTaz package receipt. |
pankso@311 | 2 |
pankso@311 | 3 PACKAGE="libiec61883" |
pascal@5789 | 4 VERSION="1.2.0" |
pankso@311 | 5 CATEGORY="system-tools" |
pankso@311 | 6 SHORT_DESC="libiec61883 is a standard defining a high speed serial bus." |
pankso@311 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15473 | 8 LICENSE="LGPL2.1" |
pascal@5789 | 9 #TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5789 | 10 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@20794 | 11 WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" |
pascal@5789 | 12 #WGET_URL="http://www.linux1394.org/dl/$TARBALL" |
pascal@24980 | 13 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL" |
pankso@311 | 14 |
pascal@15473 | 15 DEPENDS="libraw1394" |
pascal@15473 | 16 BUILD_DEPENDS="libraw1394 libraw1394-dev" |
pascal@15473 | 17 |
pascal@24497 | 18 # What is the latest version available today? |
pascal@24497 | 19 current_version() |
pascal@24497 | 20 { |
pascal@24497 | 21 wget -O - https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/ 2>/dev/null | \ |
pascal@24497 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24497 | 23 } |
pascal@24497 | 24 |
pankso@311 | 25 # Rules to configure and make the package. |
pankso@311 | 26 compile_rules() |
pankso@311 | 27 { |
pankso@311 | 28 cd $src |
pankso@311 | 29 ./configure \ |
pankso@311 | 30 --prefix=/usr \ |
pankso@311 | 31 --mandir=/usr/share/man \ |
pascal@1465 | 32 $CONFIGURE_ARGS && |
pascal@1465 | 33 make && |
pascal@15473 | 34 make DESTDIR=$DESTDIR install |
pankso@311 | 35 } |
pankso@311 | 36 |
pankso@311 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@311 | 38 genpkg_rules() |
pankso@311 | 39 { |
pankso@311 | 40 mkdir -p $fs/usr/lib $fs/dev |
pascal@15473 | 41 cp -a $install/usr/bin $fs/usr |
pascal@15473 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@311 | 43 } |
pankso@311 | 44 |