wok-6.x view terminus-font-base/receipt @ rev 15601
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 20:23:08 2013 +0000 (2013-12-05) |
parents | 2c9793157ad4 |
children | cf4569a61bcc |
line source
1 # SliTaz package receipt.
3 PACKAGE="terminus-font-base"
4 VERSION="4.38"
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 chmod +x ./configure
25 ./configure \
26 --prefix=/usr \
27 --psfdir=/usr/share/kbd/consolefonts \
28 --x11dir=/usr/share/fonts/X11 &&
29 make psf
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 fontdir=$fs/usr/share/kbd/consolefonts
36 mkdir -p $fontdir
37 cp -a $src/ter-v14n.psf $fontdir
38 gzip -9 $fontdir/*
39 }