wok-current view freetype1/receipt @ rev 24591

updated genext2fs (1.4.1 -> 1.5.0)
author Hans-G?nter Theisgen
date Mon Feb 28 17:48:46 2022 +0100 (2022-02-28)
parents a78610b2eb47
children
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype1"
4 SOURCE="freetype"
5 VERSION="1.3.1"
6 CATEGORY="x-window"
7 SHORT_DESC="Freetype1 font engine."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.freetype.org/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS="glibc-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/freetype/files/freetype/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/freetype/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # NOTE: DESTDIR is not recognized by freetype1 make install
29 cd $src
30 ./configure \
31 --sysconfdir=$DESTDIR/etc \
32 --prefix=$DESTDIR/usr \
33 --mandir=$DESTDIR/usr/share/man \
34 --includedir=$DESTDIR/usr/include \
35 --libdir=$DESTDIR/usr/lib \
36 --with-x --enable-gif \
37 $CONFIGURE_ARGS &&
38 make ttlib ttpo || return 1
40 cd lib
41 make DESTDIR=$DESTDIR -f arch/unix/Makefile install || return 1
42 cd ../po
43 make DESTDIR=$DESTDIR -f Makefile install || return 1
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib
50 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 }