wok-6.x annotate xcb-util/receipt @ rev 7449
mplayerplug-in: partial fix for compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 30 13:09:45 2010 +0100 (2010-11-30) |
parents | e2ae0e65c659 |
children | d363995c1565 |
rev | line source |
---|---|
mallory@2686 | 1 # SliTaz package receipt. |
mallory@2686 | 2 |
mallory@2686 | 3 PACKAGE="xcb-util" |
mallory@4008 | 4 VERSION="0.3.6" |
mallory@2686 | 5 CATEGORY="x-window" |
mallory@2686 | 6 SHORT_DESC="XCB Utilites" |
mallory@2686 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@2843 | 8 DEPENDS="libxcb xorg-libXdmcp" |
erjo@5838 | 9 BUILD_DEPENDS="libxcb-dev libxcb gperf" |
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 |