wok annotate xcb-util-xrm/receipt @ rev 25303

updated shared-mime-info and shared-mime-info-dev (1.15 -> 2.2)
author Hans-G?nter Theisgen
date Wed Jul 20 09:08:48 2022 +0100 (2022-07-20)
parents 162ff9218137
children 0262035dc1e7
rev   line source
Hans-G?nter@23799 1 # SliTaz package receipt.
Hans-G?nter@23799 2
Hans-G?nter@23799 3 PACKAGE="xcb-util-xrm"
Hans-G?nter@23799 4 VERSION="1.3"
Hans-G?nter@23799 5 CATEGORY="x-window"
Hans-G?nter@23799 6 SHORT_DESC="XCB utility functions for the X resource manager"
Hans-G?nter@23799 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23799 8 LICENSE="MIT"
Hans-G?nter@23799 9 WEB_SITE="https://github.com/Airblader/xcb-util-xrm"
Hans-G?nter@23799 10
Hans-G?nter@23799 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23799 12 WGET_URL="https://github.com/Airblader/xcb-util-xrm/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@23799 13
Hans-G?nter@23799 14 DEPENDS="libxcb xcb-util"
Hans-G?nter@23799 15 BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-libX11-dev"
Hans-G?nter@23799 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
Hans-G?nter@23799 23 compile_rules()
Hans-G?nter@23799 24 {
Hans-G?nter@23799 25 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@23799 26 make &&
Hans-G?nter@23799 27 make install
Hans-G?nter@23799 28 }
Hans-G?nter@23799 29
Hans-G?nter@23799 30 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23799 31 genpkg_rules()
Hans-G?nter@23799 32 {
Hans-G?nter@23799 33 mkdir -p $fs/usr/lib
Hans-G?nter@23799 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23799 35 }