wok annotate setserial/receipt @ rev 25201
updated python-lxml (4.5.0 -> 4.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:11:40 2022 +0100 (2022-07-13) |
parents | d6288bc06bc4 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@1650 | 1 # SliTaz package receipt. |
pascal@1650 | 2 |
pascal@1650 | 3 PACKAGE="setserial" |
pascal@1650 | 4 VERSION="2.17" |
pascal@1650 | 5 CATEGORY="system-tools" |
pascal@1650 | 6 SHORT_DESC="Serial port configutation tool." |
pascal@1650 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL" |
pascal@1650 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1650 | 10 WEB_SITE="http://setserial.sourceforge.net/" |
pascal@1650 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@16630 | 12 HOST_ARCH="i486 arm" |
pascal@1650 | 13 |
pascal@24348 | 14 # What is the latest version available today? |
pascal@24348 | 15 current_version() |
pascal@24348 | 16 { |
pascal@24348 | 17 wget -O - https://sourceforge.net/projects/setserial/files/setserial/ 2>/dev/null | \ |
pascal@24348 | 18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 19 sed '/scope="row/!d;s|.*/setserial/||;s|/.*||;q' |
pascal@24348 | 20 } |
pascal@24348 | 21 |
pascal@1650 | 22 # Rules to configure and make the package. |
pascal@1650 | 23 compile_rules() |
pascal@1650 | 24 { |
pascal@15593 | 25 mkdir -p $DESTDIR/usr/bin |
erjo@5892 | 26 |
erjo@5892 | 27 # http://bugs.gentoo.org/309883 |
erjo@5892 | 28 # & remove warnings |
pascal@8974 | 29 patch -p1 < $stuff/setserial-2.17.u || return 1 |
erjo@5892 | 30 |
pankso@16630 | 31 ./configure \ |
pankso@16630 | 32 --prefix=/usr \ |
pankso@16630 | 33 $CONFIGURE_ARGS && |
pascal@1650 | 34 make $PACKAGE && |
pascal@15593 | 35 install -m 755 $PACKAGE $DESTDIR/usr/bin |
pascal@1650 | 36 } |
pascal@1650 | 37 |
pascal@1650 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1650 | 39 genpkg_rules() |
pascal@1650 | 40 { |
pascal@15593 | 41 cp -a $install/usr $fs |
pascal@1650 | 42 } |
pascal@1650 | 43 |