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

wesnoth: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 25 09:46:28 2009 +0200 (2009-09-25)
parents b2dc7e5e4d6b
children 281ded597107
rev   line source
mallory@2684 1 # SliTaz package receipt.
mallory@2684 2
mallory@2684 3 PACKAGE="xcb-proto"
mallory@3306 4 VERSION="1.5"
mallory@2684 5 CATEGORY="x-window"
mallory@2684 6 SHORT_DESC="XCB protocol."
mallory@2684 7 MAINTAINER="mallory@sweetpeople.org"
mallory@2684 8 DEPENDS="python"
mallory@2684 9 BUILD_DEPENDS="python-dev"
mallory@2684 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mallory@2684 11 WEB_SITE="http://xcb.freedesktop.org"
mallory@2684 12 WGET_URL="$WEB_SITE/dist/$TARBALL"
mallory@2684 13
mallory@2684 14 # Rules to configure and make the package.
mallory@2684 15 compile_rules()
mallory@2684 16 {
mallory@2684 17 cd $src
mallory@2684 18 ./configure \
mallory@2684 19 --prefix=/usr \
mallory@2684 20 --infodir=/usr/share/info \
mallory@2684 21 --mandir=/usr/share/man \
mallory@2684 22 $CONFIGURE_ARGS &&
mallory@2684 23 make && make DESTDIR=$PWD/_pkg install
mallory@2684 24 }
mallory@2684 25
mallory@2684 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2684 27 genpkg_rules()
mallory@2684 28 {
mallory@2684 29 mkdir -p $fs/usr
mallory@2684 30 cp -a $_pkg/usr/share $fs/usr
mallory@2684 31 cp -a $_pkg/usr/lib $fs/usr
mallory@2684 32 }
mallory@2684 33