wok-next view terminus-font/receipt @ rev 21708
updated gsasl (0.2.29 -> 1.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 06 15:47:38 2020 +0100 (2020-07-06) |
parents | 49205cea4356 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="terminus-font"
4 VERSION="4.46"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monospaced font designed for long work with computers"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="OFL"
9 WEB_SITE="http://terminus-font.sourceforge.net/"
10 HOST_ARCH="any"
11 REPOLOGY="fonts:terminus"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 BUILD_DEPENDS="python3 bdftopcf patch"
17 SPLIT="$PACKAGE-x11 $PACKAGE-base $PACKAGE"
19 compile_rules() {
20 for i in dv1 gq2 ij1 ll2 br1; do
21 [ -f "patch-$i.done" ] && continue
22 echo "Applying patch alt/$i.diff"
23 patch -Np1 -i alt/$i.diff 2>&1 | sed 's|^| |'
24 touch patch-$i.done
25 echo
26 done
28 ./configure \
29 --prefix=/usr \
30 --psfdir=/usr/share/kbd/consolefonts \
31 --x11dir=/usr/share/fonts/X11 &&
32 make &&
33 make DESTDIR=$install install || return 1
35 mv OFL.TXT OFL.txt
36 cook_pick_docs OFL.txt README README-BG CHANGES
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 terminus-font-x11)
42 copy *.pcf*
43 CAT="x-window|Xorg pcf fonts"
44 DEPENDS=" "
45 ;;
46 terminus-font-base)
47 copy ter-v14n.*
48 CAT="system-tools|8x14 console font"
49 DEPENDS=" "
50 ;;
51 terminus-font)
52 copy @std @rm
53 CAT="system-tools|console fonts"
54 DEPENDS="terminus-font-base"
55 ;;
56 esac
57 }