wok-current view xcb-util-keysyms/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
parents | 3b6916480692 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-util-keysyms"
4 VERSION="0.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Utility libraries for XC Binding."
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"
15 BUILD_DEPENDS="libxcb-dev xorg-util-macros"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }