wok annotate xcb-util-image/receipt @ rev 25229
updated python-pyst2 (0.5.0 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:59:13 2022 +0100 (2022-07-13) |
parents | 3b6916480692 |
children |
rev | line source |
---|---|
slaxemulator@12934 | 1 # SliTaz package receipt. |
slaxemulator@12934 | 2 |
slaxemulator@12934 | 3 PACKAGE="xcb-util-image" |
Hans-G?nter@22155 | 4 VERSION="0.4.0" |
slaxemulator@12934 | 5 CATEGORY="x-window" |
Hans-G?nter@22155 | 6 SHORT_DESC="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions." |
slaxemulator@12934 | 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@12934 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 12 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL" |
slaxemulator@12934 | 13 |
slaxemulator@12934 | 14 DEPENDS="libxcb xcb-util" |
slaxemulator@12934 | 15 BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-util-macros" |
slaxemulator@12934 | 16 |
pascal@24465 | 17 # What is the latest version available today? |
pascal@24465 | 18 current_version() |
pascal@24465 | 19 { |
pascal@24465 | 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24465 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24465 | 22 } |
pascal@24465 | 23 |
slaxemulator@12934 | 24 # Rules to configure and make the package. |
slaxemulator@12934 | 25 compile_rules() |
slaxemulator@12934 | 26 { |
Hans-G?nter@22155 | 27 ./configure \ |
Hans-G?nter@22155 | 28 --disable-static \ |
Hans-G?nter@22155 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@22155 | 30 make && |
Hans-G?nter@22155 | 31 make install |
slaxemulator@12934 | 32 } |
slaxemulator@12934 | 33 |
slaxemulator@12934 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@12934 | 35 genpkg_rules() |
slaxemulator@12934 | 36 { |
slaxemulator@12934 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@22155 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@12934 | 39 } |