wok-6.x annotate freetype/receipt @ rev 25306
sip-4.19.25: last version for Python 2
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:39:41 2022 +0100 (2022-07-20) |
parents | 7e911016a644 |
children |
rev | line source |
---|---|
pankso@21 | 1 # SliTaz package receipt. |
pankso@21 | 2 |
pankso@21 | 3 PACKAGE="freetype" |
Hans-G?nter@24573 | 4 VERSION="2.11.1" |
pankso@21 | 5 CATEGORY="x-window" |
Hans-G?nter@22781 | 6 SHORT_DESC="A free, high-quality, and portable font engine." |
pankso@21 | 7 MAINTAINER="pankso@slitaz.org" |
al@18549 | 8 LICENSE="FTL GPL2" |
al@19306 | 9 WEB_SITE="https://www.freetype.org/" |
Hans-G?nter@22781 | 10 |
Hans-G?nter@22781 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@18549 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@22781 | 13 |
Hans-G?nter@22781 | 14 DEPENDS="harfbuzz libpng zlib" |
Hans-G?nter@22781 | 15 BUILD_DEPENDS="autoconf automake bzip2-dev harfbuzz-dev libpng-dev libtool" |
Hans-G?nter@22781 | 16 |
pankso@15995 | 17 HOST_ARCH="i486 arm" |
al@14225 | 18 |
pascal@24069 | 19 current_version() |
pascal@24069 | 20 { |
pascal@24069 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24069 | 22 sed '/h.>FreeType [0-9]/!d;s|.*pe ||;s|<.*||;q' |
pascal@24069 | 23 } |
pascal@24069 | 24 |
pankso@21 | 25 # Rules to configure and make the package. |
pankso@21 | 26 compile_rules() |
pankso@21 | 27 { |
Hans-G?nter@22781 | 28 # patch -p1 -i $stuff/freetype-2.6.4.patch |
al@18549 | 29 |
al@18549 | 30 ./autogen.sh && |
Hans-G?nter@22781 | 31 ./configure \ |
Hans-G?nter@22781 | 32 --sysconfdir=/etc \ |
pascal@2486 | 33 $CONFIGURE_ARGS && |
pascal@14231 | 34 make && |
al@18549 | 35 make install |
pascal@22802 | 36 mkdir -p $DESTDIR/usr/bin |
pascal@22802 | 37 cp builds/unix/freetype-config $DESTDIR/usr/bin |
pankso@21 | 38 } |
pankso@21 | 39 |
pankso@21 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@21 | 41 genpkg_rules() |
pankso@21 | 42 { |
al@19308 | 43 cook_copy_files *.so* |
pankso@21 | 44 } |