wok view terminus-font-base/receipt @ rev 24220
updated perl-http-message (6.22 -> 6.35)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:42:27 2021 +0100 (2021-12-31) |
parents | cfa37fb98858 |
children | 7dd01dedad38 |
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 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/terminus-font/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch -i alt/dv1.diff || return 1
28 patch -i alt/gq2.diff || return 1
29 patch -i alt/ij1.diff || return 1
30 patch -i alt/ll2.diff || return 1
31 patch -i $stuff/ter-u14n.diff || return 1
32 chmod +x ./configure
33 ./configure \
34 --prefix=/usr \
35 --psfdir=/usr/share/kbd/consolefonts \
36 --x11dir=/usr/share/fonts/X11 &&
37 make psf
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 fontdir=$fs/usr/share/kbd/consolefonts
44 mkdir -p $fontdir
45 cp -a $src/ter-v14n.psf $fontdir
46 gzip -9 $fontdir/*
47 }