wok annotate xcb-util/receipt @ rev 18135
poptop: fix plugin version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 17:53:06 2015 +0200 (2015-06-13) |
parents | 23c3aed67cd9 |
children | 124c3a7da04f |
rev | line source |
---|---|
mallory@2686 | 1 # SliTaz package receipt. |
mallory@2686 | 2 |
mallory@2686 | 3 PACKAGE="xcb-util" |
pascal@12940 | 4 VERSION="0.3.8" |
mallory@2686 | 5 CATEGORY="x-window" |
mallory@2686 | 6 SHORT_DESC="XCB Utilites" |
mallory@2686 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15601 | 8 LICENSE="MIT" |
mallory@2686 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@2686 | 10 WEB_SITE="http://xcb.freedesktop.org" |
mallory@2686 | 11 WGET_URL="$WEB_SITE/dist/$TARBALL" |
pankso@16082 | 12 HOST_ARCH="i486 arm" |
mallory@2686 | 13 |
pascal@15601 | 14 DEPENDS="libxcb xorg-libXdmcp" |
pankso@16082 | 15 BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev gperf" |
pankso@16082 | 16 |
pankso@16082 | 17 # Handle cross compilation |
pankso@16082 | 18 case "$ARCH" in |
pankso@16082 | 19 arm*) BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev" ;; |
pankso@16082 | 20 esac |
pascal@15601 | 21 |
mallory@2686 | 22 # Rules to configure and make the package. |
mallory@2686 | 23 compile_rules() |
mallory@2686 | 24 { |
mallory@2686 | 25 cd $src |
mallory@2686 | 26 ./configure \ |
mallory@2686 | 27 --prefix=/usr \ |
mallory@2686 | 28 --infodir=/usr/share/info \ |
mallory@2686 | 29 --mandir=/usr/share/man \ |
mallory@2686 | 30 $CONFIGURE_ARGS && |
slaxemulator@11910 | 31 make && make DESTDIR=$DESTDIR install |
mallory@2686 | 32 } |
mallory@2686 | 33 |
mallory@2686 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2686 | 35 genpkg_rules() |
mallory@2686 | 36 { |
samuel_trassare@11874 | 37 mkdir -p $fs/usr/lib |
pascal@15601 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mallory@2686 | 39 } |
mallory@2686 | 40 |