wok-6.x view xcb-util/receipt @ rev 16282

arm: add galculator & mhwaveedit
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 06 16:22:52 2014 +0200 (2014-04-06)
parents 23c3aed67cd9
children 124c3a7da04f
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-util"
4 VERSION="0.3.8"
5 CATEGORY="x-window"
6 SHORT_DESC="XCB Utilites"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://xcb.freedesktop.org"
11 WGET_URL="$WEB_SITE/dist/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libxcb xorg-libXdmcp"
15 BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev gperf"
17 # Handle cross compilation
18 case "$ARCH" in
19 arm*) BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }