wok-current annotate xcb-util-wm/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 20d32321cac5 |
children | 5926178cd6fa |
rev | line source |
---|---|
slaxemulator@12933 | 1 # SliTaz package receipt. |
slaxemulator@12933 | 2 |
slaxemulator@12933 | 3 PACKAGE="xcb-util-wm" |
pascal@22406 | 4 VERSION="0.4.1" |
slaxemulator@12933 | 5 CATEGORY="x-window" |
Hans-G?nter@22155 | 6 SHORT_DESC="Utility libraries for XC Binding - client and window-manager helpers for ICCCM." |
slaxemulator@12933 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14744 | 8 LICENSE="other" |
Hans-G?nter@22155 | 9 WEB_SITE="https://xcb.freedesktop.org/XcbUtil/" |
Hans-G?nter@22155 | 10 |
slaxemulator@12933 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 12 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL" |
slaxemulator@12933 | 13 |
slaxemulator@12933 | 14 DEPENDS="libxcb" |
slaxemulator@12933 | 15 BUILD_DEPENDS="libxcb-dev xorg-util-macros" |
slaxemulator@12933 | 16 |
Hans-G?nter@22155 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@22155 | 18 |
pascal@24465 | 19 # What is the latest version available today? |
pascal@24465 | 20 current_version() |
pascal@24465 | 21 { |
pascal@24465 | 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24465 | 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24465 | 24 } |
pascal@24465 | 25 |
slaxemulator@12933 | 26 # Rules to configure and make the package. |
slaxemulator@12933 | 27 compile_rules() |
slaxemulator@12933 | 28 { |
Hans-G?nter@22155 | 29 ./configure \ |
Hans-G?nter@22155 | 30 --disable-static \ |
Hans-G?nter@22155 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22155 | 32 make && |
Hans-G?nter@22155 | 33 make install |
slaxemulator@12933 | 34 } |
slaxemulator@12933 | 35 |
slaxemulator@12933 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@12933 | 37 genpkg_rules() |
slaxemulator@12933 | 38 { |
slaxemulator@12933 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22155 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@12933 | 41 } |