wok diff terminus-font-base/receipt @ rev 15086
orage: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 20:42:12 2013 +0000 (2013-08-13) |
parents | |
children | 23c3aed67cd9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/terminus-font-base/receipt Tue Aug 13 20:42:12 2013 +0000 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="terminus-font-base" 1.7 +VERSION="4.38" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="8x14 Unicode console font" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +WEB_SITE="http://terminus-font.sourceforge.net/" 1.12 +SOURCE="terminus-font" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 1.15 + 1.16 +DEPENDS="" 1.17 +BUILD_DEPENDS="perl" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + patch -i alt/dv1.diff || return 1 1.23 + patch -i alt/gq2.diff || return 1 1.24 + patch -i alt/ij1.diff || return 1 1.25 + patch -i alt/ll2.diff || return 1 1.26 + chmod +x ./configure 1.27 + ./configure \ 1.28 + --prefix=/usr \ 1.29 + --psfdir=/usr/share/kbd/consolefonts \ 1.30 + --x11dir=/usr/share/fonts/X11 && 1.31 + make psf 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + fontdir=$fs/usr/share/kbd/consolefonts 1.38 + mkdir -p $fontdir 1.39 + cp -a $src/ter-v14n.psf $fontdir 1.40 + gzip -9 $fontdir/* 1.41 +}