wok-next view fontforge/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | 8de239b8173f |
children | 0e7893ac206d |
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 rm -r $src/.git
26 ./configure \
27 --enable-gtk2-use \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$install install &&
32 make -C desktop DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 fontforge)
40 copy @std *.mo
41 rm $fs/usr/share/fontforge/pixmaps/*.ttf
42 DEPENDS="gtk+ libuninameslist python libspiro libltdl xorg-libSM"
43 TAGS="editor font"
44 ;;
45 *-fonts)
46 copy *.ttf
47 CAT="fonts|fonts"
48 ;;
49 *-dev)
50 copy @dev
51 ;;
52 esac
53 }