wok annotate terminus-font-base/receipt @ rev 24372

updated bison and bison-lang (3.5 -> 3.8.2)
author Hans-G?nter Theisgen
date Sat Feb 05 15:15:36 2022 +0100 (2022-02-05)
parents cfa37fb98858
children 7dd01dedad38
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
pascal@24071 17 current_version()
pascal@24071 18 {
pascal@24071 19 wget -O - https://sourceforge.net/projects/terminus-font/files/ 2>/dev/null | \
pascal@24071 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 22 }
pascal@24071 23
al@13778 24 # Rules to configure and make the package.
al@13778 25 compile_rules()
al@13778 26 {
al@13778 27 patch -i alt/dv1.diff || return 1
al@13778 28 patch -i alt/gq2.diff || return 1
al@13778 29 patch -i alt/ij1.diff || return 1
al@13778 30 patch -i alt/ll2.diff || return 1
al@17921 31 patch -i $stuff/ter-u14n.diff || return 1
al@13778 32 chmod +x ./configure
al@13778 33 ./configure \
al@13778 34 --prefix=/usr \
al@13778 35 --psfdir=/usr/share/kbd/consolefonts \
al@13778 36 --x11dir=/usr/share/fonts/X11 &&
al@13778 37 make psf
al@13778 38 }
al@13778 39
al@13778 40 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13778 41 genpkg_rules()
al@13778 42 {
al@13778 43 fontdir=$fs/usr/share/kbd/consolefonts
al@13778 44 mkdir -p $fontdir
al@13778 45 cp -a $src/ter-v14n.psf $fontdir
al@13778 46 gzip -9 $fontdir/*
al@13778 47 }