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

qtwebkit, mesa-demos: up compile_rules / (b)deps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 25 00:02:43 2017 +0200 (2017-10-25)
parents
children 0e7893ac206d
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"
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 *-libXxf86misc)
35 copy @std
36 DEPENDS="xorg-libxcb xorg-libX11 xorg-libXau xorg-libXdmcp \
37 xorg-libXext"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="xorg-libXxf86misc xorg-libxcb-dev xorg-libX11-dev \
42 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
43 xorg-xf86miscproto"
44 ;;
45 esac
46 }