wok-next annotate xorg-libXft/receipt @ rev 20488

palemoon: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 11:00:54 2018 +0100 (2018-03-12)
parents ea3c4b76ea5d
children 757d032c55c7
rev   line source
al@19805 1 # SliTaz package receipt v2.
pankso@20 2
pankso@20 3 PACKAGE="xorg-libXft"
al@19637 4 VERSION="2.3.2"
pankso@20 5 CATEGORY="x-window"
al@19805 6 SHORT_DESC="Client side font rendering library"
pankso@20 7 MAINTAINER="pankso@slitaz.org"
al@19805 8 LICENSE="MIT"
al@19637 9 WEB_SITE="https://www.x.org/wiki/"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html"
al@19637 11
al@19637 12 TARBALL="libXft-$VERSION.tar.bz2"
pankso@20 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@20 14
al@14646 15 BUILD_DEPENDS="xorg-libXrender-dev freetype-dev fontconfig-dev libxml2-dev"
al@19805 16 SPLIT="xorg-libXft-dev"
pankso@12513 17
al@20443 18 compile_rules() {
al@20443 19 fix ld
pankso@3012 20 ./configure \
pankso@12513 21 --sysconfdir=/etc \
pankso@12513 22 --localstatedir=/var \
pankso@12513 23 $CONFIGURE_ARGS &&
al@20443 24 fix libtool &&
al@14646 25 make &&
al@14646 26 make install
pankso@20 27 }
pankso@20 28
al@20443 29 genpkg_rules() {
al@19805 30 case $PACKAGE in
al@19805 31 *-libXft)
al@19805 32 copy @std
al@20443 33 DEPENDS="fontconfig freetype xorg-libX11 xorg-libXrender"
al@19805 34 ;;
al@19805 35 *-dev)
al@19805 36 copy @dev
al@20443 37 DEPENDS="xorg-libXft \
al@20443 38 fontconfig-dev freetype-dev xorg-libXrender-dev xorg-xproto"
al@19805 39 ;;
al@19805 40 esac
pankso@20 41 }