wok annotate xcb-proto/receipt @ rev 17605

notify-python: fix notify_notification_new args
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 12 13:15:01 2015 +0100 (2015-02-12)
parents 97a4bdecaed7
children a78610b2eb47
rev   line source
mallory@2684 1 # SliTaz package receipt.
mallory@2684 2
mallory@2684 3 PACKAGE="xcb-proto"
pankso@16193 4 VERSION="1.10"
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"
pankso@15951 12 HOST_ARCH="i486 arm"
al@14604 13
pascal@15599 14 DEPENDS="python pkg-config"
al@14604 15 BUILD_DEPENDS="python-dev libxml2-tools"
mallory@2684 16
pankso@15951 17 case "$ARCH" in
pankso@15951 18 arm) BUILD_DEPENDS="" ;;
pankso@15951 19 esac
pankso@15951 20
mallory@2684 21 # Rules to configure and make the package.
mallory@2684 22 compile_rules()
mallory@2684 23 {
mallory@2684 24 ./configure \
al@14604 25 --sysconfdir=/etc \
al@14604 26 --localstatedir=/var \
mallory@2684 27 $CONFIGURE_ARGS &&
al@14604 28 make &&
al@14604 29 make install
mallory@2684 30 }
mallory@2684 31
mallory@2684 32 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2684 33 genpkg_rules()
mallory@2684 34 {
al@14604 35 mkdir -p $fs/usr/share/licenses
al@14604 36 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
al@14604 37
al@14604 38 cp -a $install/* $fs
al@14604 39 # cook removes *.pyc *.pyo files by itself, but they leaves in files.list
al@14604 40 find $fs -name '*.py?' -delete
mallory@2684 41 }