# SliTaz package receipt. PACKAGE="xcb-util-xrm" VERSION="1.3" CATEGORY="x-window" SHORT_DESC="XCB utility functions for the X resource manager" MAINTAINER="maintainer@slitaz.org" LICENSE="MIT" WEB_SITE="https://github.com/Airblader/xcb-util-xrm" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/Airblader/xcb-util-xrm/releases/download/v$VERSION/$TARBALL" DEPENDS="libxcb xcb-util" BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-libX11-dev" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }