wok-current annotate xorg-xcompmgr/receipt @ rev 24072

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 17:56:16 2021 +0000 (2021-07-07)
parents 5a89430456a8
children 5926178cd6fa
rev   line source
pankso@359 1 # SliTaz package receipt.
pankso@359 2
pankso@359 3 PACKAGE="xorg-xcompmgr"
Hans-G?nter@22251 4 VERSION="1.1.8"
pankso@359 5 CATEGORY="x-window"
pankso@359 6 SHORT_DESC="X composite manager."
pankso@359 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22251 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22251 10
pankso@359 11 SOURCE="xcompmgr"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@12521 13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
Hans-G?nter@22251 14
Hans-G?nter@22251 15 DEPENDS="libxcb xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXdamage \
Hans-G?nter@22251 16 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXrender"
Hans-G?nter@22251 17 BUILD_DEPENDS="libxcb-dev xorg-libX11-dev xorg-libXau-dev
Hans-G?nter@22251 18 xorg-libXcomposite-dev xorg-libXdamage-dev
Hans-G?nter@22251 19 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev
Hans-G?nter@22251 20 xorg-libXrender-dev"
Hans-G?nter@22251 21
pankso@16382 22 HOST_ARCH="i486 arm"
pankso@359 23
pascal@24072 24 current_version()
pascal@24072 25 {
pascal@24072 26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 27 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 28 }
pascal@24072 29
pankso@359 30 # Rules to configure and make the package.
pankso@359 31 compile_rules()
pankso@359 32 {
Hans-G?nter@22251 33 # 1.1.6: bugs.freedesktop.org/show_bug.cgi?id=46285
Hans-G?nter@22251 34 # patch -Np0 -i $stuff/46285.diff
Hans-G?nter@22251 35
pankso@12465 36 ./configure \
pankso@12465 37 $CONFIGURE_ARGS &&
Hans-G?nter@22251 38 make &&
Hans-G?nter@22251 39 make install
pankso@359 40 }
pankso@359 41
pankso@359 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@359 43 genpkg_rules()
pankso@359 44 {
pankso@12465 45 mkdir -p $fs/usr $fs/etc/xdg
Hans-G?nter@22251 46
Hans-G?nter@22251 47 cp -r $install/usr/bin $fs/usr
Hans-G?nter@22251 48 cp -r $stuff/autostart $fs/etc/xdg
pankso@359 49 }