wok-current view fontconfig-infinality/receipt @ rev 25618
Use default gcc 6.3 for libgphoto2
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Sep 03 19:59:46 2023 +0000 (14 months ago) |
parents | 544e47246b33 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fontconfig-infinality"
4 GITHASH="a6372281b91f0bc8b6c0d7ce2c9da41df65806ec"
5 VERSION="20160915"
6 CATEGORY="x-window"
7 SHORT_DESC="Infinality addition for fontconfig"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="https://github.com/Infinality/$PACKAGE/archive/$GITHASH.zip"
13 CONFIG_FILES="/etc/fonts/infinality/infinality.conf"
15 DEPENDS="fontconfig"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/bohoomil/fontconfig-ultimate/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-||g;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p \
28 $fs/etc/fonts \
29 $fs/usr/bin
30 cp -r $src/* $fs/etc/fonts
31 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
32 # ported to Ash
33 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
34 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
35 $fs/usr/bin/infctl.sh
36 }