wok-current annotate xorg-libXfont/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 96ccd8f1d9a8 |
children | 5926178cd6fa |
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 } |