wok-current view xcb-proto/receipt @ rev 23508
updated python-mechanize (0.2.5 -> 0.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 10:13:51 2020 +0100 (2020-04-06) |
parents | a78610b2eb47 |
children | 8b1267de9505 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-proto"
4 VERSION="1.13"
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.bz2"
12 WGET_URL="${WEB_SITE}dist/$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 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
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/share/licenses
38 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
40 cp -a $install/* $fs
41 # cook removes *.pyc *.pyo files by itself, but leaves them in files.list
42 find $fs -name '*.py?' -delete
43 }