wok annotate xcb-proto/receipt @ rev 2833

gamin: Reduce size with strip -s on libs (-68k)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 30 14:47:39 2009 +0200 (2009-04-30)
parents
children 23ca7e6ba23f
rev   line source
mallory@2684 1 # SliTaz package receipt.
mallory@2684 2
mallory@2684 3 PACKAGE="xcb-proto"
mallory@2684 4 VERSION="1.4"
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