wok-next view xorg-libXrandr/receipt @ rev 19869

rhythmcat2, florence, alarm-clock-applet: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 27 17:55:19 2017 +0200 (2017-09-27)
parents f463de72afe3
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXrandr"
4 VERSION="1.5.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xrandr extension library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/libraries/libxrandr/"
10 HOST_ARCH="i486 arm"
12 TARBALL="libXrandr-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 BUILD_DEPENDS="xorg-randrproto xorg-libXext-dev xorg-libXrender-dev"
16 SPLIT="xorg-libXrandr-dev"
17 PKG_RULE="std-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 *-libXrandr)
35 copy @std
36 DEPENDS="xorg-libxcb xorg-libX11 xorg-libXau xorg-libXdmcp \
37 xorg-libXext xorg-libXrender"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="xorg-libXrandr xorg-libxcb-dev xorg-libX11-dev \
42 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
43 xorg-libXrender-dev xorg-randrproto xorg-xproto"
44 ;;
45 esac
46 }