wok-next view terminus-font-base/receipt @ rev 13944
xorg-xauth: add common path (thanks mojo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 29 09:43:35 2013 +0100 (2013-01-29) |
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 }