wok view xcb-util/receipt @ rev 19022
Up slitaz-boot-scripts (427), tazpkg (904), tazwok (557)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 11:32:41 2016 +0200 (2016-04-01) |
parents | 4ba762f15bab |
children | a78610b2eb47 |
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"
15 BUILD_DEPENDS="libxcb-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 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }