wok view freetype/receipt @ rev 24211

created recipe for perl-file-rsync
author Hans-G?nter Theisgen
date Fri Dec 31 16:00:22 2021 +0100 (2021-12-31)
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 }