wok-6.x annotate xorg-fonttosfnt/receipt @ rev 25120
updated pekwm (0.1.17 -> 0.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 10:18:40 2022 +0100 (2022-06-26) |
parents | 55468e317029 |
children |
rev | line source |
---|---|
pascal@11203 | 1 # SliTaz package receipt. |
pascal@11203 | 2 |
pascal@11203 | 3 PACKAGE="xorg-fonttosfnt" |
Hans-G?nter@22189 | 4 VERSION="1.0.5" |
pascal@11203 | 5 CATEGORY="x-window" |
Hans-G?nter@22189 | 6 TAGS="utility xorg fonts" |
pascal@11203 | 7 SHORT_DESC="Wrap a bitmap font in a sfnt (TrueType) wrapper." |
pascal@11203 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22189 | 10 WEB_SITE="https://xorg.freedesktop.org/" |
Hans-G?nter@22189 | 11 |
pascal@11203 | 12 SOURCE="fonttosfnt" |
pascal@11203 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@11203 | 14 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
Hans-G?nter@22189 | 15 |
Hans-G?nter@22189 | 16 DEPENDS="freetype xorg-libfontenc xorg-libX11" |
pascal@11203 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
pascal@11203 | 24 # Rules to configure and make the package.ls sr |
pascal@11203 | 25 compile_rules() |
pascal@11203 | 26 { |
Hans-G?nter@22189 | 27 ./configure \ |
Hans-G?nter@22189 | 28 --prefix=/usr \ |
Hans-G?nter@22189 | 29 --mandir=/usr/share/man \ |
pascal@11203 | 30 $CONFIGURE_ARGS && |
pascal@11203 | 31 make && |
pascal@11203 | 32 make DESTDIR=$DESTDIR install |
pascal@11203 | 33 } |
pascal@11203 | 34 |
pascal@11203 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 36 genpkg_rules() |
pascal@11203 | 37 { |
pascal@11203 | 38 mkdir -p $fs/usr |
pascal@15579 | 39 cp -a $install/usr/bin $fs/usr |
pascal@11203 | 40 } |