wok-next view fontforge/receipt @ rev 20567
xfe: update receipt; qt5: undo `fix math`
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 11 01:07:35 2018 +0300 (2018-04-11) |
parents | ca2828ae20d6 |
children | 835b3b8ce6ac |
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 xorg-libX11-dev xorg-libICE-dev zlib-dev freetype-dev libjpeg-turbo-dev \
16 libpng16-dev tiff-dev readline-dev cairo-dev pango-dev xorg-libXft-dev \
17 gtk+-dev python-dev libuninameslist-dev libspiro-dev util-linux-uuid-dev \
18 xorg-libSM-dev gettext"
19 SPLIT="fontforge-fonts fontforge-dev"
21 compile_rules() {
22 rm -r $src/.git
24 ./configure \
25 --enable-gtk2-use \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$install install &&
30 make -C desktop DESTDIR=$install install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 fontforge)
36 copy @std *.mo
37 rm $fs/usr/share/fontforge/pixmaps/*.ttf
38 DEPENDS="gtk+ libuninameslist python libspiro libltdl xorg-libSM"
39 TAGS="editor font"
40 ;;
41 *-fonts)
42 copy *.ttf
43 CAT="fonts|fonts"
44 ;;
45 *-dev)
46 copy @dev
47 ;;
48 esac
49 }