wok view freetype/receipt @ rev 24665

updated incron (0.5.10 -> 0.5.12)
author Hans-G?nter Theisgen
date Fri Mar 11 14:57:00 2022 +0100 (2022-03-11)
parents 7e911016a644
children c370be1be30e
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype"
4 VERSION="2.11.1"
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 }