wok-next view terminus-font/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents d43bf7aae921
children 33dc3c330cc7
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="python3 xorg-bdftopcf patch"
15 SPLIT="terminus-font-x11 terminus-font-base terminus-font"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 && make DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 terminus-font-x11)
40 copy *.pcf*
41 CAT="x-window|Xorg pcf fonts"
42 DEPENDS=" "
43 ;;
44 terminus-font-base)
45 copy ter-v14n.*
46 CAT="system-tools|8x14 console font"
47 DEPENDS=" "
48 ;;
49 terminus-font)
50 copy @std @rm
51 CAT="system-tools|console fonts"
52 DEPENDS="terminus-font-base"
53 ;;
54 esac
55 }