wok-next view fontforge/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 0e7893ac206d |
children | f48456621a9d |
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 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 fontforge)
37 copy @std *.mo
38 rm $fs/usr/share/fontforge/pixmaps/*.ttf
39 DEPENDS="gtk+ libuninameslist python libspiro libltdl xorg-libSM"
40 TAGS="editor font"
41 ;;
42 *-fonts)
43 copy *.ttf
44 CAT="fonts|fonts"
45 ;;
46 *-dev)
47 copy @dev
48 ;;
49 esac
50 }