wok-6.x view xcb-proto/receipt @ rev 18958
apache: add /etc/apache/ssl/httpd-ssl.conf symlink (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 09 08:46:50 2016 +0100 (2016-03-09) |
parents | 97a4bdecaed7 |
children | a78610b2eb47 |
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 }