wok view xcb-proto/receipt @ rev 20669

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 21 12:26:11 2019 +0100 (2019-01-21)
parents c358d2c8fa30
children 5d0f9213f0ae
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-proto"
4 VERSION="1.10"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="${WEB_SITE}dist/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="python pkg-config"
15 BUILD_DEPENDS="python-dev libxml2-tools"
17 case "$ARCH" in
18 arm) BUILD_DEPENDS="" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/licenses
36 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
38 cp -a $install/* $fs
39 # cook removes *.pyc *.pyo files by itself, but they leaves in files.list
40 find $fs -name '*.py?' -delete
41 }