wok-current view fontforge/receipt @ rev 23409
updated perl-try-tiny (0.22 -> 0.30)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 07:04:07 2020 +0100 (2020-04-01) |
parents | d889f64f1c89 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fontforge"
4 VERSION="20190801"
5 CATEGORY="development"
6 TAGS="editor font"
7 SHORT_DESC="An outline font editor."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="BSD GPL3"
10 WEB_SITE="https://fontforge.github.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="gtk+ libltdl libspiro libuninameslist python"
16 BUILD_DEPENDS="autoconf automake bash cacerts cairo-dev \
17 coreutils-context-system coreutils-line freetype-dev \
18 git gtk+-dev jpeg-dev libpng-dev libspiro-dev libtool \
19 libuninameslist-dev pango-dev perl python-dev \
20 readline-dev util-linux-uuid-dev xorg-libX11-dev \
21 xorg-libXft-dev zlib-dev"
22 # As 'busybox date' does not support the given options,
23 # coreutils-context-system is required.
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|_Noreturn||' fontforge/*.c
29 ./bootstrap --skip-git &&
30 ./configure \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make DESTDIR=$install install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/python2.7/site-packages
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/python2.7/site-packages/*.so \
45 $fs/usr/lib/python2.7/site-packages
46 cp -a $install/usr/share/fontforge $fs/usr/share
48 # Desktop integration not auto-installed
49 mkdir -p \
50 $fs/usr/share/applications \
51 $fs/usr/share/mime/packages
52 # $fs/usr/share/icons/hicolor
54 cp -a $install/usr/share/applications/org.fontforge.FontForge.desktop \
55 $fs/usr/share/applications/fontforge.desktop
56 cp -a $src/desktop/fontforge.xml \
57 $fs/usr/share/mime/packages
58 # cp -a $src/desktop/icons/16x16 \
59 # $fs/usr/share/icons/hicolor
60 # cp -a $src/desktop/icons/48x48 \
61 # $fs/usr/share/icons/hicolor
63 # Remove included fonts
64 rm -r $fs/usr/share/fontforge/pixmaps/*.ttf
65 }