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