wok-next annotate terminus-font-base/receipt @ rev 14670
efreet-dev: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:08:27 2013 +0200 (2013-06-06) |
parents | |
children | 23c3aed67cd9 |
rev | line source |
---|---|
al@13778 | 1 # SliTaz package receipt. |
al@13778 | 2 |
al@13778 | 3 PACKAGE="terminus-font-base" |
al@13778 | 4 VERSION="4.38" |
al@13778 | 5 CATEGORY="system-tools" |
al@13778 | 6 SHORT_DESC="8x14 Unicode console font" |
al@13778 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@13778 | 8 WEB_SITE="http://terminus-font.sourceforge.net/" |
al@13778 | 9 SOURCE="terminus-font" |
al@13778 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
al@13778 | 11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
al@13778 | 12 |
al@13778 | 13 DEPENDS="" |
al@13778 | 14 BUILD_DEPENDS="perl" |
al@13778 | 15 |
al@13778 | 16 # Rules to configure and make the package. |
al@13778 | 17 compile_rules() |
al@13778 | 18 { |
al@13778 | 19 patch -i alt/dv1.diff || return 1 |
al@13778 | 20 patch -i alt/gq2.diff || return 1 |
al@13778 | 21 patch -i alt/ij1.diff || return 1 |
al@13778 | 22 patch -i alt/ll2.diff || return 1 |
al@13778 | 23 chmod +x ./configure |
al@13778 | 24 ./configure \ |
al@13778 | 25 --prefix=/usr \ |
al@13778 | 26 --psfdir=/usr/share/kbd/consolefonts \ |
al@13778 | 27 --x11dir=/usr/share/fonts/X11 && |
al@13778 | 28 make psf |
al@13778 | 29 } |
al@13778 | 30 |
al@13778 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13778 | 32 genpkg_rules() |
al@13778 | 33 { |
al@13778 | 34 fontdir=$fs/usr/share/kbd/consolefonts |
al@13778 | 35 mkdir -p $fontdir |
al@13778 | 36 cp -a $src/ter-v14n.psf $fontdir |
al@13778 | 37 gzip -9 $fontdir/* |
al@13778 | 38 } |