wok view ratmenu/receipt @ rev 25065
grub4dos: binutils 2.37 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 09 15:38:57 2022 +0000 (2022-06-09) |
parents | e472f8c4cb53 |
children | 73f36875e5a7 |
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="http://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 }