wok view xcb-util/receipt @ rev 16523

raspberrypi-vc: strip down package and up PATH LD_LIBRARY_PATH in /etc/profile
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 02:27:59 2014 +0200 (2014-04-26)
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 }