wok-current annotate xcb-util-xrm/receipt @ rev 25434

Up znc (1.8.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 29 10:14:47 2022 +0000 (2022-08-29)
parents 162ff9218137
children 5926178cd6fa
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 }