wok annotate xcb-proto/receipt @ rev 7712

yasr: add post install
author Paul Issott <paul@slitaz.org>
date Sun Dec 19 15:51:06 2010 +0000 (2010-12-19)
parents 23ca7e6ba23f
children 1bd58ffde448
rev   line source
mallory@2684 1 # SliTaz package receipt.
mallory@2684 2
mallory@2684 3 PACKAGE="xcb-proto"
jozee@5586 4 VERSION="1.6"
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