wok-6.x view wmctrl/receipt @ rev 25522

created recipes for libtermkey and libtermkey-dev 0.22
author Hans-G?nter Theisgen
date Fri Feb 24 17:12:54 2023 +0100 (20 months ago)
parents 2a0479881723
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wmctrl"
4 VERSION="1.07"
5 CATEGORY="utilities"
6 SHORT_DESC="A UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager."
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://sites.google.com/site/tstyblo/wmctrl"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://7010c55d-a-62cb3a1a-s-sites.googlegroups.com/site/tstyblo/wmctrl/$TARBALL"
14 DEPENDS="glib"
15 BUILD_DEPENDS="glib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Current version/!d;s|.*: ||;s|<.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man\
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }