wok-current view ratpoison/receipt @ rev 24859

updated linuxdcpp (1.0.3 -> 1.1.0)
author Hans-G?nter Theisgen
date Tue Mar 29 10:13:07 2022 +0100 (2022-03-29)
parents c7002bc9b6c7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ratpoison"
4 VERSION="1.4.9"
5 CATEGORY="x-window"
6 TAGS="window-manager"
7 SHORT_DESC="An extremely light-weight window manager, using only keyboard."
8 MAINTAINER="gokhlayeh@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.nongnu.org/ratpoison/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
15 DEPENDS="microperl xorg-libXinerama xorg-libXtst"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure &&
28 make CFLAGS="$CFLAGS -DHAVE_GETLINE" &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/ratpoison $fs/usr/share
39 }