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

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 0e7893ac206d
children cd7906120828
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 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 *-libXrandr)
28 copy @std
29 DEPENDS="xorg-libX11 xorg-libXext xorg-libXrender"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="xorg-libXrandr \
34 xorg-libX11-dev xorg-libXext-dev xorg-libXrender-dev \
35 xorg-randrproto xorg-xproto"
36 ;;
37 esac
38 }