wok-6.x annotate terminus-font-base/receipt @ rev 13919

netkit-rsh: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 25 17:08:55 2013 +0100 (2013-01-25)
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 }