wok-current view terminus-font-base/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents cf4569a61bcc
children ee53899c6189
line source
1 # SliTaz package receipt.
3 PACKAGE="terminus-font-base"
4 VERSION="4.40"
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 patch -i $stuff/ter-u14n.diff || return 1
25 chmod +x ./configure
26 ./configure \
27 --prefix=/usr \
28 --psfdir=/usr/share/kbd/consolefonts \
29 --x11dir=/usr/share/fonts/X11 &&
30 make psf
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 fontdir=$fs/usr/share/kbd/consolefonts
37 mkdir -p $fontdir
38 cp -a $src/ter-v14n.psf $fontdir
39 gzip -9 $fontdir/*
40 }