wok-next view xorg-libXrandr/receipt @ rev 20467
Up cookutils (1034), TiMidity++, alpine, caps, alsaequal
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 08 01:13:43 2018 +0200 (2018-03-08) |
parents | ea3c4b76ea5d |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXrandr"
4 VERSION="1.5.1"
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html"
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"
18 compile_rules() {
19 fix ld
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-libXrandr)
32 copy @std
33 DEPENDS="xorg-libX11 xorg-libXext xorg-libXrender"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="xorg-libXrandr \
38 xorg-libX11-dev xorg-libXext-dev xorg-libXrender-dev \
39 xorg-randrproto xorg-xproto"
40 ;;
41 esac
42 }