wok-next view xorg-libXxf86misc/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents ea3c4b76ea5d
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXxf86misc"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="XFree86-MISC extension library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 TARBALL="libXxf86misc-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
14 BUILD_DEPENDS="xorg-util-macros xorg-xproto xorg-libX11-dev xorg-xextproto \
15 xorg-libXext-dev xorg-xf86miscproto"
16 SPLIT="xorg-libXxf86misc-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 *-libXxf86misc)
32 copy @std
33 DEPENDS="xorg-libX11 xorg-libXext"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="xorg-libXxf86misc \
38 xorg-libX11-dev xorg-libXext-dev xorg-xf86miscproto"
39 ;;
40 esac
41 }