wok-current view freetype1/receipt @ rev 22742
updated dstat (0.7.3 -> 0.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 08:08:29 2020 +0100 (2020-01-24) |
parents | ee5c8b018b62 |
children | 640a2eba2511 |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # NOTE: DESTDIR is not recognized by freetype1 make install
21 cd $src
22 ./configure \
23 --sysconfdir=$DESTDIR/etc \
24 --prefix=$DESTDIR/usr \
25 --mandir=$DESTDIR/usr/share/man \
26 --includedir=$DESTDIR/usr/include \
27 --libdir=$DESTDIR/usr/lib \
28 --with-x --enable-gif \
29 $CONFIGURE_ARGS &&
30 make ttlib ttpo || return 1
32 cd lib
33 make DESTDIR=$DESTDIR -f arch/unix/Makefile install || return 1
34 cd ../po
35 make DESTDIR=$DESTDIR -f Makefile install || return 1
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }