wok view fontforge/receipt @ rev 24456
updated gnustep-base and gnustep-base-dev (1.26.0 -> 1.28.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 09:21:33 2022 +0100 (2022-02-16) |
parents | 47014aa052fd |
children | 20ad21d5532c |
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 current_version()
26 {
27 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
28 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 sed -i 's|_Noreturn||' fontforge/*.c
35 ./bootstrap --skip-git &&
36 ./configure \
37 $CONFIGURE_ARGS &&
38 make -j 1 &&
39 make DESTDIR=$install install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/python2.7/site-packages
46 mkdir -p $fs/usr/share
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/python2.7/site-packages/*.so \
51 $fs/usr/lib/python2.7/site-packages
52 cp -a $install/usr/share/fontforge $fs/usr/share
54 # Desktop integration not auto-installed
55 mkdir -p \
56 $fs/usr/share/applications \
57 $fs/usr/share/mime/packages
58 # $fs/usr/share/icons/hicolor
60 cp -a $install/usr/share/applications/org.fontforge.FontForge.desktop \
61 $fs/usr/share/applications/fontforge.desktop
62 cp -a $src/desktop/fontforge.xml \
63 $fs/usr/share/mime/packages
64 # cp -a $src/desktop/icons/16x16 \
65 # $fs/usr/share/icons/hicolor
66 # cp -a $src/desktop/icons/48x48 \
67 # $fs/usr/share/icons/hicolor
69 # Remove included fonts
70 rm -r $fs/usr/share/fontforge/pixmaps/*.ttf
71 }