wok-current view freetype/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (8 weeks ago)
parents c803f42edca1
children
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="libpng zlib"
15 BUILD_DEPENDS="autoconf automake bzip2-dev harfbuzz-dev \
16 libpng-dev libtool"
18 # At first build, do without harfbuzz dep
19 # When harfbuzz build, rebuild freetype with harfbuzz as dep
22 HOST_ARCH="i486 arm"
24 current_version()
25 {
26 wget -O - $WEB_SITE 2>/dev/null | \
27 sed '/h.>FreeType [0-9]/!d;s|.*pe ||;s|<.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 # patch -p1 -i $stuff/freetype-2.6.4.patch
35 ./autogen.sh &&
36 ./configure \
37 --sysconfdir=/etc \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 mkdir -p $DESTDIR/usr/bin
42 cp builds/unix/freetype-config $DESTDIR/usr/bin
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cook_copy_files *.so*
49 }