wok-next view xcb-proto/receipt @ rev 18450
perl-datetime and others: update to perl datetime which required a bunch of other deps to also be updated
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sun Sep 27 19:52:03 2015 +0000 (2015-09-27) |
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 }