wok-next view xcb-proto/receipt @ rev 16091
Up xine-lib (1.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 16 10:04:50 2014 +0000 (2014-03-16) |
parents | 47e1df965953 |
children | c358d2c8fa30 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-proto"
4 VERSION="1.8"
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 }