wok-next view xcb-util-image/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 1a86cb99cbbf |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="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 XShmImage functions"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://xcb.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL"
14 BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-util-macros"
15 SPLIT="xcb-util-image-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 xcb-util-image)
31 copy @std
32 DEPENDS="libxcb xcb-util"
33 ;;
34 *-dev) copy @dev;;
35 esac
36 }