wok-next view terminus-font-base/receipt @ rev 16067

ARM: xorg-server-light cross compile and add more needed packages
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 12 20:54:03 2014 +0100 (2014-03-12)
parents 2c9793157ad4
children cf4569a61bcc
line source
1 # SliTaz package receipt.
3 PACKAGE="terminus-font-base"
4 VERSION="4.38"
5 CATEGORY="system-tools"
6 SHORT_DESC="8x14 Unicode console font"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="OFL"
9 WEB_SITE="http://terminus-font.sourceforge.net/"
10 SOURCE="terminus-font"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -i alt/dv1.diff || return 1
21 patch -i alt/gq2.diff || return 1
22 patch -i alt/ij1.diff || return 1
23 patch -i alt/ll2.diff || return 1
24 chmod +x ./configure
25 ./configure \
26 --prefix=/usr \
27 --psfdir=/usr/share/kbd/consolefonts \
28 --x11dir=/usr/share/fonts/X11 &&
29 make psf
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 fontdir=$fs/usr/share/kbd/consolefonts
36 mkdir -p $fontdir
37 cp -a $src/ter-v14n.psf $fontdir
38 gzip -9 $fontdir/*
39 }