wok-next view xorg-libXfont2/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXfont2"
4 VERSION="2.0.1"
5 CATEGORY="x-window"
6 SHORT_DESC="X font2 handling library for server & utilities"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 HOST_ARCH="i486 arm"
12 TARBALL="libXfont2-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 BUILD_DEPENDS="xorg-util-macros freetype-dev xorg-xproto xorg-xtrans \
16 xorg-fontsproto xorg-libfontenc-dev"
17 SPLIT="xorg-libXfont2-dev"
18 PKG_RULE="std-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 *-libXfont2)
36 copy @std
37 DEPENDS="freetype xorg-libfontenc zlib"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="xorg-libXfont2 bzip2-dev freetype-dev glib-dev \
42 harfbuzz-dev libpng16-dev pcre-dev xorg-fontsproto \
43 xorg-libfontenc-dev xorg-xproto zlib"
44 ;;
45 esac
46 }