wok-6.x view xorg-xcompmgr/receipt @ rev 24548

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