wok-next annotate xorg-libXfont/receipt @ rev 19805

Update full xorg-* stack (add / upgrade / remove no more compiled packages with this xorg-server), normalize receipts to v2.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 14 16:02:21 2017 +0300 (2017-07-14)
parents f463de72afe3
children c4e53a39395a
rev   line source
al@19805 1 # SliTaz package receipt v2.
pankso@87 2
pankso@87 3 PACKAGE="xorg-libXfont"
al@19634 4 VERSION="1.5.1"
pankso@87 5 CATEGORY="x-window"
al@19805 6 SHORT_DESC="X font handling library for server & utilities"
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="libXfont-$VERSION.tar.bz2"
pankso@87 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@87 14
pankso@16021 15 BUILD_DEPENDS="bzip2-dev freetype-dev zlib-dev xorg-xtrans xorg-fontsproto \
pankso@16021 16 xorg-libfontenc-dev"
al@19805 17 SPLIT="xorg-libXfont-dev"
al@19805 18 PKG_RULE="std-dev"
pankso@12513 19
pankso@87 20 # Rules to configure and make the package.
pankso@87 21 compile_rules()
pankso@87 22 {
pankso@3012 23 ./configure \
pankso@12513 24 --sysconfdir=/etc \
pankso@12513 25 --localstatedir=/var \
pascal@5008 26 $CONFIGURE_ARGS &&
al@14644 27 make &&
al@14644 28 make install
pankso@87 29 }
pankso@87 30
pankso@87 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@87 32 genpkg_rules()
pankso@87 33 {
al@19805 34 case $PACKAGE in
al@19805 35 *-libXfont)
al@19805 36 copy @std
al@19805 37 DEPENDS="bzlib freetype glib libharfbuzz libpng16 pcre \
al@19805 38 xorg-libfontenc zlib"
al@19805 39 ;;
al@19805 40 *-dev)
al@19805 41 copy @dev
al@19805 42 DEPENDS="xorg-libXfont bzip2-dev freetype-dev glib-dev \
al@19805 43 harfbuzz-dev libpng16-dev pcre-dev xorg-fontsproto \
al@19805 44 xorg-libfontenc-dev xorg-xproto zlib"
al@19805 45 ;;
al@19805 46 esac
pankso@87 47 }