wok-6.x annotate xcb-proto/receipt @ rev 15257

samba: remove some error triggers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 24 09:45:53 2013 +0000 (2013-09-24)
parents 1bd58ffde448
children 47e1df965953
rev   line source
mallory@2684 1 # SliTaz package receipt.
mallory@2684 2
mallory@2684 3 PACKAGE="xcb-proto"
al@14604 4 VERSION="1.8"
al@14604 5 CATEGORY="development"
al@14604 6 SHORT_DESC="X protocol descriptions for XCB"
mallory@2684 7 MAINTAINER="mallory@sweetpeople.org"
al@14604 8 LICENSE="other"
al@14604 9 WEB_SITE="http://xcb.freedesktop.org/"
al@14604 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14604 11 WGET_URL="${WEB_SITE}dist/$TARBALL"
al@14604 12
mallory@2684 13 DEPENDS="python"
al@14604 14 BUILD_DEPENDS="python-dev libxml2-tools"
mallory@2684 15
mallory@2684 16 # Rules to configure and make the package.
mallory@2684 17 compile_rules()
mallory@2684 18 {
mallory@2684 19 ./configure \
al@14604 20 --sysconfdir=/etc \
al@14604 21 --localstatedir=/var \
mallory@2684 22 $CONFIGURE_ARGS &&
al@14604 23 make &&
al@14604 24 make install
mallory@2684 25 }
mallory@2684 26
mallory@2684 27 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2684 28 genpkg_rules()
mallory@2684 29 {
al@14604 30 mkdir -p $fs/usr/share/licenses
al@14604 31 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
al@14604 32
al@14604 33 cp -a $install/* $fs
al@14604 34 # cook removes *.pyc *.pyo files by itself, but they leaves in files.list
al@14604 35 find $fs -name '*.py?' -delete
mallory@2684 36 }