wok-next view freetype/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | f763caa043f3 |
children | 68405ac5fe8a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freetype"
4 VERSION="2.9"
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/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/freetype2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="automake libtool autoconf zlib-dev bzip2-dev libpng16-dev"
16 SPLIT="freetype-dev"
18 # Option "--harfbuzz" used in the task to install build dependency harfbuzz-dev
19 [ -n "$harfbuzz" ] && BUILD_DEPENDS="$BUILD_DEPENDS harfbuzz-dev"
21 compile_rules() {
22 sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg
23 sed -ri "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:g" \
24 include/freetype/config/ftoption.h
26 # ./autogen.sh &&
27 ./configure \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 freetype)
37 copy @std
38 DEPENDS="bzlib libharfbuzz libpng16 zlib"
39 ;;
40 freetype-dev)
41 copy @dev
42 DEPENDS="freetype bzip2-dev harfbuzz-dev libpng16-dev zlib-dev"
43 ;;
44 esac
45 }