wok-6.x rev 13778

add terminus-font
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 04 02:57:00 2013 +0000 (2013-01-04)
parents 8a3d7e2b6adb
children 5e60c8598200
files terminus-font-base/receipt terminus-font/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/terminus-font-base/receipt	Fri Jan 04 02:57:00 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 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/terminus-font/receipt	Fri Jan 04 02:57:00 2013 +0000
     2.3 @@ -0,0 +1,23 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="terminus-font"
     2.7 +VERSION="4.38"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Monospaced font designed for long (8+ hours per day) work with computers."
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +WEB_SITE="http://terminus-font.sourceforge.net/"
    2.12 +WANTED="terminus-font-base"
    2.13 +
    2.14 +DEPENDS="terminus-font-base"
    2.15 +BUILD_DEPENDS=""
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	fontdir=$fs/usr/share/kbd/consolefonts
    2.21 +	mkdir -p $fontdir
    2.22 +	cp -a $WOK/$WANTED/source/*/ter-v* $fontdir
    2.23 +	# provided in terminus-font-base
    2.24 +	rm -f $fontdir/ter-v14n.psf
    2.25 +	gzip -9 $fontdir/*
    2.26 +}