wok-next view terminus-font-base/receipt @ rev 18682
Add mps-youtube (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 18:50:42 2015 +0100 (2015-12-09) |
parents | 23c3aed67cd9 |
children | cfa37fb98858 |
line source
1 # SliTaz package receipt.
3 PACKAGE="terminus-font-base"
4 VERSION="4.39"
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 }