wok-next view fontforge/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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 gtk2-dev python-dev libuninameslist-dev libspiro-dev util-linux-uuid-dev \
18 xorg-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 xorg-libSM"
43 TAGS="editor font"
44 ;;
45 *-dev)
46 copy @dev
47 ;;
48 esac
49 }