wok annotate xcb-util/receipt @ rev 2753
xcb-util: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 13:50:09 2009 +0200 (2009-04-26) |
parents | 5af4b670d548 |
children | 03ad5a05339c |
rev | line source |
---|---|
mallory@2686 | 1 # SliTaz package receipt. |
mallory@2686 | 2 |
mallory@2686 | 3 PACKAGE="xcb-util" |
mallory@2686 | 4 VERSION="0.3.3" |
mallory@2686 | 5 CATEGORY="x-window" |
mallory@2686 | 6 SHORT_DESC="XCB Utilites" |
mallory@2686 | 7 MAINTAINER="mallory@sweetpeople.org" |
mallory@2686 | 8 DEPENDS="libxcb" |
pascal@2753 | 9 BUILD_DEPENDS="libxcb-dev libxcb" |
mallory@2686 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@2686 | 11 WEB_SITE="http://xcb.freedesktop.org" |
mallory@2686 | 12 WGET_URL="$WEB_SITE/dist/$TARBALL" |
mallory@2686 | 13 |
mallory@2686 | 14 # Rules to configure and make the package. |
mallory@2686 | 15 compile_rules() |
mallory@2686 | 16 { |
mallory@2686 | 17 cd $src |
mallory@2686 | 18 ./configure \ |
mallory@2686 | 19 --prefix=/usr \ |
mallory@2686 | 20 --infodir=/usr/share/info \ |
mallory@2686 | 21 --mandir=/usr/share/man \ |
mallory@2686 | 22 $CONFIGURE_ARGS && |
mallory@2686 | 23 make && make DESTDIR=$PWD/_pkg install |
mallory@2686 | 24 } |
mallory@2686 | 25 |
mallory@2686 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2686 | 27 genpkg_rules() |
mallory@2686 | 28 { |
mallory@2686 | 29 mkdir -p $fs/usr/lib |
mallory@2686 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
mallory@2686 | 31 } |
mallory@2686 | 32 |