wok annotate xorg-libXfont/receipt @ rev 24280
updated redis (5.0.8 -> 6.2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 10 17:09:47 2022 +0100 (2022-01-10) |
parents | 96ccd8f1d9a8 |
children |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-libXfont" |
Hans-G?nter@22215 | 4 VERSION="1.5.4" |
pankso@87 | 5 CATEGORY="x-window" |
Hans-G?nter@22215 | 6 SHORT_DESC="X font Library." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
al@14644 | 8 LICENSE="other" |
Hans-G?nter@22215 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22215 | 10 |
pankso@87 | 11 SOURCE="libXfont" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@87 | 14 |
al@16770 | 15 DEPENDS="bzlib freetype xorg-libfontenc" |
Hans-G?nter@22215 | 16 BUILD_DEPENDS="bzip2-dev freetype-dev xorg-fontsproto \ |
Hans-G?nter@22215 | 17 xorg-libfontenc-dev xorg-xtrans zlib-dev" |
Hans-G?nter@22215 | 18 |
Hans-G?nter@22215 | 19 HOST_ARCH="i486 arm" |
pankso@12513 | 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 |
pankso@87 | 27 # Rules to configure and make the package. |
pankso@87 | 28 compile_rules() |
pankso@87 | 29 { |
pascal@15783 | 30 sed -i 's/STARTCHAR %s/STARTCHAR %99s/' src/bitmap/bdfread.c |
Hans-G?nter@22215 | 31 |
Hans-G?nter@22215 | 32 ./configure \ |
Hans-G?nter@22215 | 33 --sysconfdir=/etc \ |
Hans-G?nter@22215 | 34 --localstatedir=/var \ |
Hans-G?nter@22215 | 35 --disable-static \ |
Hans-G?nter@22215 | 36 --disable-devel-docs \ |
pascal@5008 | 37 $CONFIGURE_ARGS && |
al@14644 | 38 make && |
al@14644 | 39 make install |
pankso@87 | 40 } |
pankso@87 | 41 |
pankso@87 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 43 genpkg_rules() |
pankso@87 | 44 { |
pankso@87 | 45 mkdir -p $fs/usr/lib |
pankso@12513 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@87 | 47 } |