wok view fontforge/receipt @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (9 months ago)
parents 6d29d11020a4
children 17429b2b6b97
line source
1 # SliTaz package receipt.
3 PACKAGE="fontforge"
4 VERSION="20150330"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/fontforge/fontforge/releases/download/$VERSION/$TARBALL"
12 TAGS="editor font"
14 DEPENDS="gtk+ libuninameslist python libspiro libltdl"
15 BUILD_DEPENDS="wget cacerts libtool git perl tar autoconf automake bash \
16 coreutils-line xorg-libX11-dev zlib-dev freetype-dev jpeg-dev libpng-dev \
17 readline-dev cairo-dev pango-dev xorg-libXft-dev gtk+-dev python-dev \
18 libuninameslist-dev libspiro-dev util-linux-uuid-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./bootstrap --skip-git --gnulib-srcdir $src/gnulib
25 ./configure \
26 --enable-gtk2-use \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$install install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/python2.7/site-packages $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/python2.7/site-packages/*.so $fs/usr/lib/python2.7/site-packages
39 cp -a $install/usr/share/fontforge $fs/usr/share
41 # Desktop integration not auto-installed
42 mkdir -p \
43 $fs/usr/share/applications \
44 $fs/usr/share/mime/packages \
45 $fs/usr/share/icons/hicolor
46 cp -a $src/desktop/fontforge.desktop $fs/usr/share/applications
47 cp -a $src/desktop/fontforge.xml $fs/usr/share/mime/packages
48 cp -a $src/desktop/icons/16x16 $src/desktop/icons/48x48 \
49 $fs/usr/share/icons/hicolor
51 # Remove included fonts
52 rm -r $fs/usr/share/fontforge/pixmaps/*.ttf
53 }