wok annotate ratmenu/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (21 months ago) |
parents | e472f8c4cb53 |
children | 73f36875e5a7 |
rev | line source |
---|---|
gokhlayeh@9230 | 1 # SliTaz package receipt. |
gokhlayeh@9230 | 2 |
gokhlayeh@9230 | 3 PACKAGE="ratmenu" |
Hans-G?nter@21830 | 4 VERSION="2.3.22" |
slaxemulator@9453 | 5 CATEGORY="x-window" |
Hans-G?nter@21830 | 6 SHORT_DESC="Menu generator created for ratpoison, but works with any window manager." |
gokhlayeh@9230 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15601 | 8 LICENSE="other" |
gokhlayeh@9230 | 9 WEB_SITE="http://packages.debian.org" |
Hans-G?nter@21830 | 10 |
Hans-G?nter@21830 | 11 TARBALL="${PACKAGE}_$VERSION.tar.xz" |
gokhlayeh@9230 | 12 WGET_URL="http://ftp.de.debian.org/debian/pool/main/r/ratmenu/$TARBALL" |
gokhlayeh@9230 | 13 |
pascal@15601 | 14 DEPENDS="xorg-libX11" |
pascal@15601 | 15 |
pascal@24419 | 16 # What is the latest version available today? |
pascal@24419 | 17 current_version() |
pascal@24419 | 18 { |
pascal@24419 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24419 | 20 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24419 | 21 } |
pascal@24419 | 22 |
gokhlayeh@9230 | 23 # Rules to configure and make the package. |
gokhlayeh@9230 | 24 compile_rules() |
gokhlayeh@9230 | 25 { |
gokhlayeh@9230 | 26 make PREFIX=/usr && |
pascal@19293 | 27 make PREFIX=$DESTDIR/usr MANDIR=$DESTDIR/usr/share/man install |
gokhlayeh@9230 | 28 } |
gokhlayeh@9230 | 29 |
gokhlayeh@9230 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@9230 | 31 genpkg_rules() |
gokhlayeh@9230 | 32 { |
gokhlayeh@9230 | 33 mkdir -p $fs/usr |
pascal@15601 | 34 cp -a $install/usr/bin $fs/usr |
gokhlayeh@9230 | 35 } |