wok-current annotate libiec61883/receipt @ rev 25074
Add python-ipaddress
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 13 19:39:39 2022 +0000 (2022-06-13) |
parents | 9b180a3071fb |
children | 694752fdbc0d |
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@25074 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20794 | 10 WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" |
pascal@24980 | 11 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL" |
pankso@311 | 12 |
pascal@15473 | 13 DEPENDS="libraw1394" |
pascal@15473 | 14 BUILD_DEPENDS="libraw1394 libraw1394-dev" |
pascal@15473 | 15 |
pascal@24497 | 16 # What is the latest version available today? |
pascal@24497 | 17 current_version() |
pascal@24497 | 18 { |
pascal@25074 | 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24497 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24497 | 21 } |
pascal@24497 | 22 |
pankso@311 | 23 # Rules to configure and make the package. |
pankso@311 | 24 compile_rules() |
pankso@311 | 25 { |
pankso@311 | 26 ./configure \ |
pankso@311 | 27 --prefix=/usr \ |
pankso@311 | 28 --mandir=/usr/share/man \ |
pascal@1465 | 29 $CONFIGURE_ARGS && |
pascal@1465 | 30 make && |
pascal@15473 | 31 make DESTDIR=$DESTDIR install |
pankso@311 | 32 } |
pankso@311 | 33 |
pankso@311 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@311 | 35 genpkg_rules() |
pankso@311 | 36 { |
pankso@311 | 37 mkdir -p $fs/usr/lib $fs/dev |
pascal@15473 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15473 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@311 | 40 } |
pankso@311 | 41 |