wok annotate cantarell-fonts/receipt @ rev 25033

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:53 2022 +0100 (2022-05-20)
parents 29bbdc1ad8ad
children
rev   line source
al@14269 1 # SliTaz package receipt.
al@14269 2
al@14269 3 PACKAGE="cantarell-fonts"
Hans-G?nter@22580 4 VERSION="0.0.25"
al@19125 5 CATEGORY="fonts"
Hans-G?nter@22580 6 TAGS="font"
Hans-G?nter@22580 7 SHORT_DESC="Sans serif font family designed for on-screen readability."
al@14269 8 MAINTAINER="al.bobylev@gmail.com"
al@14742 9 LICENSE="SIL_OFL"
al@18008 10 WEB_SITE="https://wiki.gnome.org/CantarellFonts"
Hans-G?nter@22580 11
al@14269 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22580 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
al@14269 14
al@14269 15 DEPENDS="fontconfig"
al@14269 16
pascal@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;/>ca/d" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
al@14269 23 # Rules to configure and make the package.
al@14269 24 compile_rules()
al@14269 25 {
Hans-G?nter@22580 26 ./configure \
Hans-G?nter@22580 27 --with-configdir=/etc/fonts/conf.avail \
Hans-G?nter@22580 28 --with-fontdir=/usr/share/fonts/truetype/cantarell \
al@14269 29 $CONFIGURE_ARGS &&
al@14269 30 make &&
al@14269 31 make install
al@14269 32 }
al@14269 33
al@14269 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14269 35 genpkg_rules()
al@14269 36 {
Hans-G?nter@22580 37 cp -a $install/* $fs
al@14269 38 }