wok-next view freetype1/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents a3c581bf52b8
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freetype1"
4 VERSION="1.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Freetype1 font engine"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.freetype.org/"
10 REPOLOGY="freetype"
12 TARBALL="freetype-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/freetype/$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 # NOTE: DESTDIR is not recognized by freetype1 make install
19 ./configure \
20 --sysconfdir=$install/etc \
21 --prefix=$install/usr \
22 --mandir=$install/usr/share/man \
23 --includedir=$install/usr/include \
24 --libdir=$install/usr/lib \
25 --with-x \
26 --enable-gif \
27 $CONFIGURE_ARGS &&
28 make ttlib ttpo || return 1
30 cd lib
31 make DESTDIR=$install -f arch/unix/Makefile install || return 1
32 cd ../po
33 make DESTDIR=$install -f Makefile install || return 1
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 freetype1)
39 copy @std
40 DEPENDS="glibc-base"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }