wok-6.x annotate wmctrl/receipt @ rev 25013

updated openal and openal-dev (1.20.1 -> 1.22.0)
author Hans-G?nter Theisgen
date Tue May 17 07:38:28 2022 +0100 (2022-05-17)
parents 2ed72f71270b
children fb82383c591b
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"
Hans-G?nter@22137 9 WEB_SITE="http://tripie.sweb.cz/utils/wmctrl/"
Hans-G?nter@22137 10
Hans-G?nter@22137 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22137 12 WGET_URL="${WEB_SITE}dist/$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@24436 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
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
jozee@2731 35 genpkg_rules()
jozee@2731 36 {
yuripourre@18084 37 mkdir -p $fs/usr
pascal@15000 38 cp -a $install/usr/bin $fs/usr
jozee@2731 39 }