wok-6.x annotate xorg-bdftopcf/receipt @ rev 24929
updated mtools (4.0.23 -> 4.0.39)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 15:59:41 2022 +0100 (2022-04-13) |
parents | 5d79829fa876 |
children |
rev | line source |
---|---|
pascal@11203 | 1 # SliTaz package receipt. |
pascal@11203 | 2 |
pascal@11203 | 3 PACKAGE="xorg-bdftopcf" |
Hans-G?nter@22184 | 4 VERSION="1.1" |
pascal@11203 | 5 CATEGORY="x-window" |
Hans-G?nter@22184 | 6 TAGS="utility xorg fonts" |
pascal@11203 | 7 SHORT_DESC="Font compiler for the X server and font server." |
pascal@11203 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22184 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22184 | 11 |
pascal@11203 | 12 SOURCE="bdftopcf" |
pascal@11203 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@24074 | 14 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pascal@11203 | 15 |
pascal@24072 | 16 current_version() |
pascal@24072 | 17 { |
pascal@24072 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 19 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 20 } |
pascal@24072 | 21 |
pascal@11203 | 22 # Rules to configure and make the package.ls sr |
pascal@11203 | 23 compile_rules() |
pascal@11203 | 24 { |
Hans-G?nter@22184 | 25 ./configure \ |
Hans-G?nter@22184 | 26 --prefix=/usr \ |
Hans-G?nter@22184 | 27 --mandir=/usr/share/man \ |
pascal@11203 | 28 $CONFIGURE_ARGS && |
pascal@11203 | 29 make && |
pascal@11203 | 30 make DESTDIR=$DESTDIR install |
pascal@11203 | 31 } |
pascal@11203 | 32 |
pascal@11203 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 34 genpkg_rules() |
pascal@11203 | 35 { |
pascal@11203 | 36 mkdir -p $fs/usr |
pascal@15579 | 37 cp -a $install/usr/bin $fs/usr |
pascal@11203 | 38 } |