wok view freetype/receipt @ rev 25666

Up c-ares (1.27.0), cpio (2.15), dnsmasq (2.90), dovecot (2.3.21), fetchmail (6.4.38), file (5.45), firejail (0.9.72), flac (1.4.3), freeradius (3.2.3), freetype (2.13.2), fribidi (1.0.13)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 12:01:55 2024 +0000 (2 months ago)
parents c803f42edca1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype"
4 VERSION="2.13.2"
5 CATEGORY="x-window"
6 SHORT_DESC="A free, high-quality, and portable font engine."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="FTL GPL2"
9 WEB_SITE="https://www.freetype.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="harfbuzz libpng zlib"
15 BUILD_DEPENDS="autoconf automake bzip2-dev harfbuzz-dev libpng-dev libtool"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/h.>FreeType [0-9]/!d;s|.*pe ||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # patch -p1 -i $stuff/freetype-2.6.4.patch
30 ./autogen.sh &&
31 ./configure \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 mkdir -p $DESTDIR/usr/bin
37 cp builds/unix/freetype-config $DESTDIR/usr/bin
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_files *.so*
44 }