wok view xcb-util/receipt @ rev 21800
guvcview: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 14:24:44 2019 +0200 (2019-08-10) |
parents | 124c3a7da04f |
children | 3b6916480692 |
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="https://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 }