wok-current view ratmenu/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents b78e79c31b1f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ratmenu"
4 VERSION="2.3.22"
5 CATEGORY="x-window"
6 SHORT_DESC="Menu generator created for ratpoison, but works with any window manager."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://packages.debian.org"
11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
12 WGET_URL="http://ftp.de.debian.org/debian/pool/main/r/ratmenu/$TARBALL"
14 DEPENDS="xorg-libX11"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make PREFIX=/usr &&
27 make PREFIX=$DESTDIR/usr MANDIR=$DESTDIR/usr/share/man install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }