wok-6.x annotate xorg-libXfont2/receipt @ rev 25426
updated xalan-c and xalan-c-dev (1.11 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:42:41 2022 +0100 (2022-08-18) |
parents | 3c820131b311 |
children |
rev | line source |
---|---|
Hans-G?nter@23770 | 1 # SliTaz package receipt. |
Hans-G?nter@23770 | 2 |
Hans-G?nter@23770 | 3 PACKAGE="xorg-libXfont2" |
Hans-G?nter@23770 | 4 VERSION="2.0.4" |
Hans-G?nter@23770 | 5 CATEGORY="x-window" |
Hans-G?nter@23770 | 6 SHORT_DESC="X font Library." |
Hans-G?nter@23770 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23770 | 8 LICENSE="other" |
Hans-G?nter@23770 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@23770 | 10 |
Hans-G?nter@23770 | 11 SOURCE="libXfont2" |
Hans-G?nter@23770 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@23770 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
Hans-G?nter@23770 | 14 |
Hans-G?nter@23770 | 15 DEPENDS="bzlib freetype xorg-libfontenc" |
Hans-G?nter@23770 | 16 BUILD_DEPENDS="bzip2-dev freetype-dev xorg-fontsproto |
Hans-G?nter@23770 | 17 xorg-libfontenc-dev xorg-xtrans zlib-dev" |
Hans-G?nter@23770 | 18 |
Hans-G?nter@23770 | 19 HOST_ARCH="i486 arm" |
Hans-G?nter@23770 | 20 |
pascal@24072 | 21 current_version() |
pascal@24072 | 22 { |
pascal@24072 | 23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 25 } |
pascal@24072 | 26 |
Hans-G?nter@23770 | 27 # Rules to configure and make the package. |
Hans-G?nter@23770 | 28 compile_rules() |
Hans-G?nter@23770 | 29 { |
Hans-G?nter@23770 | 30 ./configure \ |
Hans-G?nter@23770 | 31 --sysconfdir=/etc \ |
Hans-G?nter@23770 | 32 --localstatedir=/var \ |
Hans-G?nter@23770 | 33 --disable-static \ |
Hans-G?nter@23770 | 34 --disable-devel-docs \ |
Hans-G?nter@23770 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@23770 | 36 make && |
Hans-G?nter@23770 | 37 make install |
Hans-G?nter@23770 | 38 } |
Hans-G?nter@23770 | 39 |
Hans-G?nter@23770 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23770 | 41 genpkg_rules() |
Hans-G?nter@23770 | 42 { |
Hans-G?nter@23770 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@23770 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23770 | 45 } |