wok-current view echinus/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | e0cd03fb1239 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="echinus"
4 VERSION="0.4.9"
5 CATEGORY="x-window"
6 TAGS="window-manager"
7 SHORT_DESC="A window manager for X in the spirit of dwm"
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://plhk.ru/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}static/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev xorg-libXrandr-dev"
16 DEPENDS="xorg-libX11 xorg-libXft"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cp $stuff/config.mk config.mk
29 make -j 1 &&
30 make install \
31 DESTDIR=$DESTDIR \
32 BINPREFIX=/usr/bin \
33 CONFPREFIX=/usr/share/examples
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/examples $fs/usr/share
42 }