wok-6.x annotate terminus-font-base/receipt @ rev 15845
dosfstools: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:23:53 2014 +0000 (2014-01-27) |
parents | 2c9793157ad4 |
children | cf4569a61bcc |
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" |
pascal@15601 | 8 LICENSE="OFL" |
al@13778 | 9 WEB_SITE="http://terminus-font.sourceforge.net/" |
al@13778 | 10 SOURCE="terminus-font" |
al@13778 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
al@13778 | 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
al@13778 | 13 |
al@13778 | 14 DEPENDS="" |
al@13778 | 15 BUILD_DEPENDS="perl" |
al@13778 | 16 |
al@13778 | 17 # Rules to configure and make the package. |
al@13778 | 18 compile_rules() |
al@13778 | 19 { |
al@13778 | 20 patch -i alt/dv1.diff || return 1 |
al@13778 | 21 patch -i alt/gq2.diff || return 1 |
al@13778 | 22 patch -i alt/ij1.diff || return 1 |
al@13778 | 23 patch -i alt/ll2.diff || return 1 |
al@13778 | 24 chmod +x ./configure |
al@13778 | 25 ./configure \ |
al@13778 | 26 --prefix=/usr \ |
al@13778 | 27 --psfdir=/usr/share/kbd/consolefonts \ |
al@13778 | 28 --x11dir=/usr/share/fonts/X11 && |
al@13778 | 29 make psf |
al@13778 | 30 } |
al@13778 | 31 |
al@13778 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13778 | 33 genpkg_rules() |
al@13778 | 34 { |
al@13778 | 35 fontdir=$fs/usr/share/kbd/consolefonts |
al@13778 | 36 mkdir -p $fontdir |
al@13778 | 37 cp -a $src/ter-v14n.psf $fontdir |
al@13778 | 38 gzip -9 $fontdir/* |
al@13778 | 39 } |