wok-current view terminus-font-base/receipt @ rev 15324
Up tcpdump (4.4.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 21:57:38 2013 +0000 (2013-09-27) |
parents | |
children | 23c3aed67cd9 |
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 WEB_SITE="http://terminus-font.sourceforge.net/"
9 SOURCE="terminus-font"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 patch -i alt/dv1.diff || return 1
20 patch -i alt/gq2.diff || return 1
21 patch -i alt/ij1.diff || return 1
22 patch -i alt/ll2.diff || return 1
23 chmod +x ./configure
24 ./configure \
25 --prefix=/usr \
26 --psfdir=/usr/share/kbd/consolefonts \
27 --x11dir=/usr/share/fonts/X11 &&
28 make psf
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 fontdir=$fs/usr/share/kbd/consolefonts
35 mkdir -p $fontdir
36 cp -a $src/ter-v14n.psf $fontdir
37 gzip -9 $fontdir/*
38 }