wok annotate wmctrl/receipt @ rev 25510

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