wok-current view xcb-proto/receipt @ rev 24365

created recipe for rubberband-2.0.2
author Hans-G?nter Theisgen
date Fri Feb 04 17:35:01 2022 +0100 (2022-02-04)
parents 5d0f9213f0ae
children 535c806240cc
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-proto"
4 VERSION="1.14"
5 CATEGORY="development"
6 SHORT_DESC="X protocol descriptions for XCB."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="other"
9 WEB_SITE="https://xcb.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://xorg.freedesktop.org/archive/individual/proto/$TARBALL"
14 DEPENDS="pkg-config python"
15 BUILD_DEPENDS="libxml2-tools python-dev"
17 HOST_ARCH="i486 arm"
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="" ;;
21 esac
23 # @maintainer: Please update also: libxcb and libxcb-dev
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
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/share/licenses
41 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
42 cp -a $install/* $fs
44 # cook removes *.pyc *.pyo files by itself, but leaves them in files.list
45 find $fs -name '*.py?' -delete
46 }