wok-next view fontforge/receipt @ rev 21542
updated ccache (3.4.3 -> 3.7.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 17:13:07 2020 +0100 (2020-06-21) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fontforge"
4 VERSION="20161005"
5 CATEGORY="development"
6 SHORT_DESC="An outline font editor"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD GPL3"
9 WEB_SITE="http://fontforge.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/fontforge/fontforge/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="libtool perl-dev tar autoconf automake bash coreutils-line \
15 libx11-dev libice-dev zlib-dev freetype-dev libjpeg-turbo-dev \
16 libpng-dev tiff-dev readline-dev cairo-dev pango-dev libxft-dev \
17 gtk2-dev python-dev libuninameslist-dev libspiro-dev util-linux-uuid-dev \
18 libsm-dev gettext-dev"
19 SPLIT="$PACKAGE-fonts $PACKAGE $PACKAGE-dev"
21 compile_rules() {
22 rm -r $src/.git
24 ./configure \
25 --enable-gtk2-use \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make DESTDIR=$install install &&
31 make -C desktop DESTDIR=$install install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 *-fonts)
37 copy *.ttf
38 CAT="fonts|fonts"
39 ;;
40 fontforge)
41 copy @std @rm *.mo
42 DEPENDS="gtk2 libuninameslist python libspiro libltdl libsm"
43 TAGS="editor font"
44 ;;
45 *-dev)
46 copy @dev
47 ;;
48 esac
49 }