wok-next diff xcb-util-xrm/receipt @ rev 21010

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 12 16:40:30 2018 +0300 (2018-10-12)
parents
children d5aab818505e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xcb-util-xrm/receipt	Fri Oct 12 16:40:30 2018 +0300
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="xcb-util-xrm"
     1.7 +VERSION="1.3"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="XCB utility functions for the X resource manager"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/Airblader/xcb-util-xrm"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/Airblader/xcb-util-xrm/releases/download/v$VERSION/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="xorg-libxcb-dev xorg-xcb-util-dev xorg-libX11-dev"
    1.18 +SPLIT="xcb-util-xrm-dev"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	./configure $CONFIGURE_ARGS &&
    1.22 +	fix libtool &&
    1.23 +	make &&
    1.24 +	make install
    1.25 +}
    1.26 +
    1.27 +genpkg_rules() {
    1.28 +	case $PACKAGE in
    1.29 +		xcb-util-xrm)
    1.30 +			copy @std
    1.31 +			DEPENDS="xorg-libxcb xorg-xcb-util"
    1.32 +			;;
    1.33 +		*-dev)
    1.34 +			copy @dev
    1.35 +			DEPENDS="xcb-util-xrm xorg-libxcb-dev xorg-xcb-util-dev"
    1.36 +			;;
    1.37 +	esac
    1.38 +}