wok annotate superswitcher/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents c49ffc024a6c
children 0f92b8cc8086
rev   line source
mallory@3177 1 # SliTaz package receipt.
mallory@3177 2
mallory@3177 3 PACKAGE="superswitcher"
mallory@3177 4 VERSION="0.6"
mallory@3177 5 CATEGORY="x-window"
mallory@3177 6 SHORT_DESC="Replacement for the Alt-Tab window switching behavior"
mallory@3177 7 MAINTAINER="mallory@sweetpeople.org"
pascal@15000 8 LICENSE="GPL2"
mallory@3177 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20689 10 WEB_SITE="https://github.com/nigeltao/superswitcher"
mallory@3177 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
mallory@3177 12
pascal@15000 13 DEPENDS="gtk+ libwnck GConf"
pascal@15628 14 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev \
pascal@15628 15 autoconf automake"
pascal@15000 16
pascal@24497 17 # What is the latest version available today?
pascal@24497 18 current_version()
pascal@24497 19 {
pascal@24497 20 wget -O - https://raw.githubusercontent.com/nigeltao/superswitcher/master/ChangeLog 2>/dev/null | \
pascal@24497 21 sed '1!d;s| .*||;s|-||g'
pascal@24497 22 }
pascal@24497 23
mallory@3177 24 # Rules to configure and make the package.
mallory@3177 25 compile_rules()
mallory@3177 26 {
mallory@3177 27 cd $src
pascal@12677 28 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
gokhlayeh@8683 29
gokhlayeh@8683 30 # Fix from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild
gokhlayeh@8683 31 patch -p1 < $stuff/superswitcher-0.6-wnck-workspace.patch
pascal@9320 32 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am
gokhlayeh@8683 33 aclocal
gokhlayeh@8683 34 autoconf
gokhlayeh@8683 35 automake --add-missing
pascal@9320 36 sed -i '/GNOME_COMPILE_WARNINGS/d' configure
mallory@3177 37 ./configure \
mallory@3177 38 --prefix=/usr \
mallory@3177 39 --infodir=/usr/share/info \
mallory@3177 40 --mandir=/usr/share/man \
mallory@3177 41 $CONFIGURE_ARGS &&
pascal@15000 42 make && make DESTDIR=$DESTDIR install
mallory@3177 43 }
mallory@3177 44
mallory@3177 45 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3177 46 genpkg_rules()
mallory@3177 47 {
mallory@3177 48 mkdir -p $fs/usr
pascal@15000 49 cp -a $install/usr/bin $fs/usr
mallory@3177 50 }
mallory@3177 51