wok view xcb-util-wm/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 20d32321cac5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-util-wm"
4 VERSION="0.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Utility libraries for XC Binding - client and window-manager helpers for ICCCM."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://xcb.freedesktop.org/XcbUtil/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL"
14 DEPENDS="libxcb"
15 BUILD_DEPENDS="libxcb-dev xorg-util-macros"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }