wok-next view xorg-xcb-util-image/receipt @ rev 20506
zerobin: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 16 12:28:31 2018 +0100 (2018-03-16) |
parents | 0e7893ac206d |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-xcb-util-image"
4 VERSION="0.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Utility libraries for XC Binding - Port of Xlib's XImage and \
7 XShmImage functions"
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://xcb.freedesktop.org/"
11 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/xcb-util-image.html"
13 TARBALL="xcb-util-image-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/xcb/$TARBALL"
16 BUILD_DEPENDS="xorg-libxcb-dev xorg-xcb-util-dev xorg-util-macros"
17 SPLIT="xorg-xcb-util-image-dev"
19 compile_rules() {
20 fix ld
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-image)
33 copy @std
34 DEPENDS="xorg-libxcb xorg-xcb-util"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="xorg-xcb-util-image xorg-libxcb-dev"
39 ;;
40 esac
41 }