wok-6.x view freetype/receipt @ rev 24429
updated collectd (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 15:50:46 2022 +0100 (2022-02-12) |
parents | 376c63dc731b |
children | c803f42edca1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype"
4 VERSION="2.10.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 }