wok annotate scrollz/receipt @ rev 25591
enet: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 22 11:01:59 2023 +0000 (14 months ago) |
parents | 83b97236db32 |
children |
rev | line source |
---|---|
paul@16461 | 1 # SliTaz package receipt. |
paul@16461 | 2 |
paul@16461 | 3 PACKAGE="scrollz" |
Hans-G?nter@25297 | 4 VERSION="2.3.1" |
paul@16461 | 5 CATEGORY="network" |
Hans-G?nter@21892 | 6 SHORT_DESC="IRC client based on IRCII." |
paul@16461 | 7 MAINTAINER="paul@slitaz.org" |
pascal@16660 | 8 LICENSE="BSD" |
pascal@21987 | 9 WEB_SITE="https://www.scrollz.info/" |
Hans-G?nter@21892 | 10 |
Hans-G?nter@21892 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21892 | 12 WGET_URL="${WEB_SITE}download/ScrollZ-$VERSION.tar.gz" |
paul@16461 | 13 |
paul@16461 | 14 DEPENDS="" |
Hans-G?nter@21892 | 15 BUILD_DEPENDS="ncursesw-dev" |
paul@16461 | 16 |
pascal@24427 | 17 # What is the latest version available today? |
pascal@24427 | 18 current_version() |
pascal@24427 | 19 { |
pascal@24427 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 21 sed '/ScrollZ-/!d;/tar/!d;s|.*ScrollZ-\(.*\).tar.*|\1|' | sort -Vr | sed q |
pascal@24427 | 22 } |
pascal@24427 | 23 |
paul@16461 | 24 # Rules to configure and make the package. |
paul@16461 | 25 compile_rules() |
paul@16461 | 26 { |
Hans-G?nter@21892 | 27 ./configure --prefix=/usr && |
Hans-G?nter@21892 | 28 make && |
Hans-G?nter@25297 | 29 make install DESTDIR=$DESTDIR |
paul@16461 | 30 } |
paul@16461 | 31 |
paul@16461 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16461 | 33 genpkg_rules() |
paul@16461 | 34 { |
Hans-G?nter@25297 | 35 cp -a $install/usr $fs |
Hans-G?nter@21892 | 36 |
Hans-G?nter@25297 | 37 # remove man pages |
Hans-G?nter@25297 | 38 rm -rf $fs/usr/share/man |
paul@16461 | 39 } |