wok-current view xorg-libXfont2/receipt @ rev 25624
Patch gst-ffmpeg to work with new gcc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 19:03:50 2023 +0000 (11 months ago) |
parents | 3c820131b311 |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXfont2"
4 VERSION="2.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="X font Library."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libXfont2"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="bzlib freetype xorg-libfontenc"
16 BUILD_DEPENDS="bzip2-dev freetype-dev xorg-fontsproto
17 xorg-libfontenc-dev xorg-xtrans zlib-dev"
19 HOST_ARCH="i486 arm"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --disable-static \
34 --disable-devel-docs \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }