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

pinentry: try with newer gcc and specify build
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 13:10:46 2018 +0000 (2018-06-09)
parents cf4569a61bcc
children ee53899c6189
rev   line source
al@13778 1 # SliTaz package receipt.
al@13778 2
al@13778 3 PACKAGE="terminus-font-base"
devl547@19354 4 VERSION="4.40"
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@17921 24 patch -i $stuff/ter-u14n.diff || return 1
al@13778 25 chmod +x ./configure
al@13778 26 ./configure \
al@13778 27 --prefix=/usr \
al@13778 28 --psfdir=/usr/share/kbd/consolefonts \
al@13778 29 --x11dir=/usr/share/fonts/X11 &&
al@13778 30 make psf
al@13778 31 }
al@13778 32
al@13778 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13778 34 genpkg_rules()
al@13778 35 {
al@13778 36 fontdir=$fs/usr/share/kbd/consolefonts
al@13778 37 mkdir -p $fontdir
al@13778 38 cp -a $src/ter-v14n.psf $fontdir
al@13778 39 gzip -9 $fontdir/*
al@13778 40 }