wok-next view xorg-libXfont2/receipt @ rev 20671

qemu, qemu-light: define prefix
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:51:17 2018 +0300 (2018-05-11)
parents 0e7893ac206d
children cd7906120828
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html"
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"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 *-libXfont2)
29 copy @std
30 DEPENDS="freetype xorg-libfontenc zlib"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="xorg-libXfont2 \
35 freetype-dev xorg-fontsproto xorg-libfontenc-dev xorg-xproto \
36 zlib-dev"
37 ;;
38 esac
39 }