wok-next annotate xorg-libXft/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 |
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@20534 | 19 ./configure $CONFIGURE_ARGS && |
al@20443 | 20 fix libtool && |
al@14646 | 21 make && |
al@14646 | 22 make install |
pankso@20 | 23 } |
pankso@20 | 24 |
al@20443 | 25 genpkg_rules() { |
al@19805 | 26 case $PACKAGE in |
al@19805 | 27 *-libXft) |
al@19805 | 28 copy @std |
al@20443 | 29 DEPENDS="fontconfig freetype xorg-libX11 xorg-libXrender" |
al@19805 | 30 ;; |
al@19805 | 31 *-dev) |
al@19805 | 32 copy @dev |
al@20443 | 33 DEPENDS="xorg-libXft \ |
al@20443 | 34 fontconfig-dev freetype-dev xorg-libXrender-dev xorg-xproto" |
al@19805 | 35 ;; |
al@19805 | 36 esac |
pankso@20 | 37 } |