wok view xcb-util-image/receipt @ rev 25515
Update qemu website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 09:52:04 2023 +0000 (22 months ago) |
parents | 3b6916480692 |
children |
line source
1 # SliTaz package receipt.
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/XcbUtil/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL"
14 DEPENDS="libxcb xcb-util"
15 BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-util-macros"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }