wok annotate xcb-util-renderutil/receipt @ rev 25041
Up fatattr (1.0.1), puzzles (20220128)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 27 17:15:46 2022 +0000 (2022-05-27) |
parents | e75bceccda65 |
children |
rev | line source |
---|---|
Hans-G?nter@23800 | 1 # SliTaz package receipt. |
Hans-G?nter@23800 | 2 |
Hans-G?nter@23800 | 3 PACKAGE="xcb-util-renderutil" |
Hans-G?nter@23800 | 4 VERSION="0.3.9" |
Hans-G?nter@23800 | 5 CATEGORY="x-window" |
Hans-G?nter@23800 | 6 TAGS="Xorg" |
Hans-G?nter@23800 | 7 SHORT_DESC="Convenience functions for the Render extension." |
Hans-G?nter@23800 | 8 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23800 | 9 LICENSE="MIT" |
Hans-G?nter@23800 | 10 WEB_SITE="https://xcb.freedesktop.org/" |
Hans-G?nter@23800 | 11 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/xcb-util-renderutil.html" |
Hans-G?nter@23800 | 12 |
Hans-G?nter@23800 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@23800 | 14 WGET_URL="$XORG_MIRROR/xcb/$TARBALL" |
Hans-G?nter@23800 | 15 TARBALL_SHA1="cb533b1d039f833f070e7d6398c221a31d30d5e2" |
Hans-G?nter@23800 | 16 |
Hans-G?nter@23800 | 17 BUILD_DEPENDS="libxcb-dev" |
Hans-G?nter@23800 | 18 |
Hans-G?nter@23800 | 19 DEPENDS="libxcb" |
Hans-G?nter@23800 | 20 |
pascal@24415 | 21 # What is the latest version available today? |
pascal@24415 | 22 current_version() |
pascal@24415 | 23 { |
pascal@24415 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 26 } |
pascal@24415 | 27 |
Hans-G?nter@23800 | 28 # Rules to configure and make the package. |
Hans-G?nter@23800 | 29 compile_rules() |
Hans-G?nter@23800 | 30 { |
Hans-G?nter@23800 | 31 ./configure \ |
Hans-G?nter@23800 | 32 --disable-static \ |
Hans-G?nter@23800 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@23800 | 34 make && |
Hans-G?nter@23800 | 35 make install |
Hans-G?nter@23800 | 36 } |
Hans-G?nter@23800 | 37 |
Hans-G?nter@23800 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23800 | 39 genpkg_rules() |
Hans-G?nter@23800 | 40 { |
Hans-G?nter@23800 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@23800 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23800 | 43 } |