wok annotate devilspie/receipt @ rev 25147
updated powertop (2.11 -> 2.14)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:35:33 2022 +0100 (2022-06-29) |
parents | cb67b4f8be05 |
children |
rev | line source |
---|---|
pankso@1276 | 1 # SliTaz package receipt. |
pankso@1276 | 2 |
pankso@1276 | 3 PACKAGE="devilspie" |
pankso@1276 | 4 VERSION="0.22" |
pankso@1276 | 5 CATEGORY="x-window" |
pankso@1276 | 6 SHORT_DESC="Windows matching utility." |
pankso@1276 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
erjo@9928 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24746 | 10 WEB_SITE="https://www.burtonini.com/blog/tag/devilspie.html" |
pascal@24978 | 11 WGET_URL="https://www.burtonini.com/computing/$TARBALL" |
erjo@9928 | 12 |
pascal@2488 | 13 DEPENDS="libwnck expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pascal@2488 | 14 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ |
pascal@2514 | 15 xorg-libXrandr xorg-libXrender xorg-libXdamage" |
erjo@9928 | 16 BUILD_DEPENDS="intltool libwnck-dev" |
pankso@1276 | 17 |
pascal@24439 | 18 # What is the latest version available today? |
pascal@24439 | 19 current_version() |
pascal@24439 | 20 { |
pascal@24439 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24439 | 22 sed '/devils-pie/!d;s|.*devils-pie-||;s|/.*||;s|-|.|;q' |
pascal@24439 | 23 } |
pascal@24439 | 24 |
pankso@1276 | 25 # Rules to configure and make the package. |
pankso@1276 | 26 compile_rules() |
pankso@1276 | 27 { |
pankso@1276 | 28 cd $src |
pascal@17670 | 29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
pascal@9360 | 30 sed -i \ |
pascal@9359 | 31 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \ |
pascal@9360 | 32 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \ |
pascal@9359 | 33 src/xutils.c src/actions.c |
slaxemulator@10299 | 34 ./configure $CONFIGURE_ARGS && |
slaxemulator@10299 | 35 make && make install |
pankso@1276 | 36 } |
pankso@1276 | 37 |
pankso@1276 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1276 | 39 genpkg_rules() |
pankso@1276 | 40 { |
pankso@1276 | 41 mkdir -p $fs/usr |
pascal@15110 | 42 cp -a $install/usr/bin $fs/usr |
pankso@1276 | 43 } |