wok-next view fontforge/receipt @ rev 21186

aufs-utils: set AUFS_VERSION
author Hans-G?nter Theisgen
date Sun Sep 22 17:57:23 2019 +0100 (2019-09-22)
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 }