wok-next annotate xorg-xcb-util-cursor/receipt @ rev 20496

Packages with tag "Xfce": fix (b)deps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 14 17:14:32 2018 +0200 (2018-03-14)
parents 0e7893ac206d
children 757d032c55c7
rev   line source
al@19805 1 # SliTaz package receipt v2.
al@19805 2
al@19805 3 PACKAGE="xorg-xcb-util-cursor"
al@19805 4 VERSION="0.1.3"
al@19805 5 CATEGORY="x-window"
al@19805 6 SHORT_DESC="Module that implements the XCB cursor library"
al@19805 7 MAINTAINER="al.bobylev@gmail.com"
al@19805 8 LICENSE="MIT"
al@19805 9 WEB_SITE="https://xcb.freedesktop.org/"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/xcb-util-cursor.html"
al@19805 11
al@19805 12 TARBALL="xcb-util-cursor-$VERSION.tar.bz2"
al@19805 13 WGET_URL="$XORG_MIRROR/xcb/$TARBALL"
al@19805 14
al@19805 15 BUILD_DEPENDS="xorg-libxcb-dev xorg-xcb-util-dev xorg-xcb-util-renderutil-dev \
al@19805 16 xorg-xcb-util-image-dev"
al@19805 17 SPLIT="xorg-xcb-util-cursor-dev"
al@19805 18
al@20443 19 compile_rules() {
al@20443 20 fix ld
al@19805 21 ./configure \
al@19805 22 --sysconfdir=/etc \
al@19805 23 --localstatedir=/var \
al@19805 24 $CONFIGURE_ARGS &&
al@20443 25 fix libtool &&
al@19805 26 make &&
al@19805 27 make install
al@19805 28 }
al@19805 29
al@20443 30 genpkg_rules() {
al@19805 31 case $PACKAGE in
al@19805 32 *-xcb-util-cursor)
al@19805 33 copy @std
al@19805 34 DEPENDS="xorg-libxcb xorg-xcb-util-image xorg-xcb-util-renderutil"
al@19805 35 ;;
al@19805 36 *-dev)
al@19805 37 copy @dev
al@20443 38 DEPENDS="xorg-xcb-util-cursor \
al@20443 39 xorg-libxcb-dev xorg-xcb-util-image-dev xorg-xcb-util-renderutil-dev"
al@19805 40 ;;
al@19805 41 esac
al@19805 42 }