wok-next view xcb-proto/receipt @ rev 15599

Update some bdeps with pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 13:21:20 2013 +0000 (2013-12-05)
parents a09e9d64e4c9
children 97a4bdecaed7
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"
13 DEPENDS="python pkg-config"
14 BUILD_DEPENDS="python-dev libxml2-tools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS &&
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/licenses
31 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
33 cp -a $install/* $fs
34 # cook removes *.pyc *.pyo files by itself, but they leaves in files.list
35 find $fs -name '*.py?' -delete
36 }