wok-next view xcb-proto/receipt @ rev 18900
Up: Correct link to author homepage and better appearance file description in Tazpanel.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Feb 18 16:11:22 2016 -0200 (2016-02-18) |
parents | 97a4bdecaed7 |
children | 9f70134dc7a7 |
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="http://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 }