wok-next annotate xorg-libXcomposite/receipt @ rev 20297

Up spl (0.7.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 09 21:37:23 2017 +0100 (2017-11-09)
parents f463de72afe3
children 0e7893ac206d
rev   line source
al@19805 1 # SliTaz package receipt v2.
pankso@87 2
pankso@87 3 PACKAGE="xorg-libXcomposite"
al@14643 4 VERSION="0.4.4"
pankso@87 5 CATEGORY="x-window"
al@19805 6 SHORT_DESC="Composite Extension"
pankso@87 7 MAINTAINER="pankso@slitaz.org"
al@19805 8 LICENSE="MIT"
al@19634 9 WEB_SITE="https://www.x.org/wiki/"
al@19634 10 HOST_ARCH="i486 arm"
al@19634 11
al@19634 12 TARBALL="libXcomposite-$VERSION.tar.bz2"
pankso@87 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@87 14
al@14643 15 BUILD_DEPENDS="xorg-compositeproto xorg-libXfixes-dev"
al@19805 16 SPLIT="xorg-libXcomposite-dev"
al@19805 17 PKG_RULE="std-dev"
al@14643 18
pankso@87 19 # Rules to configure and make the package.
pankso@87 20 compile_rules()
pankso@87 21 {
al@14643 22 ./configure \
al@14643 23 --sysconfdir=/etc \
al@14643 24 --localstatedir=/var \
al@14643 25 $CONFIGURE_ARGS &&
al@14643 26 make &&
al@14643 27 make install
pankso@87 28 }
pankso@87 29
pankso@87 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@87 31 genpkg_rules()
pankso@87 32 {
al@19805 33 case $PACKAGE in
al@19805 34 *-libXcomposite)
al@19805 35 copy @std
al@19805 36 DEPENDS="xorg-libxcb xorg-libX11 xorg-libXau xorg-libXdmcp"
al@19805 37 ;;
al@19805 38 *-dev)
al@19805 39 copy @dev
al@19805 40 DEPENDS="xorg-libXcomposite xorg-libxcb-dev xorg-compositeproto \
al@19805 41 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
al@19805 42 xorg-libXfixes-dev xorg-xproto"
al@19805 43 ;;
al@19805 44 esac
pankso@87 45 }