wok-current rev 21559
updated fontforge (20170730 -> 20190413)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 16 16:45:53 2019 +0100 (2019-05-16) |
parents | 2ad68c5f19e1 |
children | d889f64f1c89 |
files | fontforge/receipt |
line diff
1.1 --- a/fontforge/receipt Thu May 16 14:36:35 2019 +0100 1.2 +++ b/fontforge/receipt Thu May 16 16:45:53 2019 +0100 1.3 @@ -1,51 +1,67 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="fontforge" 1.7 -VERSION="20150330" 1.8 +VERSION="20190413" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="An outline font editor" 1.11 +TAGS="editor font" 1.12 +SHORT_DESC="An outline font editor." 1.13 MAINTAINER="al.bobylev@gmail.com" 1.14 LICENSE="BSD GPL3" 1.15 -WEB_SITE="http://fontforge.github.io/" 1.16 +WEB_SITE="https://fontforge.github.io/" 1.17 + 1.18 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 -WGET_URL="https://github.com/fontforge/fontforge/releases/download/$VERSION/$TARBALL" 1.20 -TAGS="editor font" 1.21 +#WGET_URL="https://github.com/fontforge/fontforge/releases/download/$VERSION/$TARBALL" 1.22 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION/$TARBALL" 1.23 1.24 -DEPENDS="gtk+ libuninameslist python libspiro libltdl" 1.25 -BUILD_DEPENDS="wget cacerts libtool git perl tar autoconf automake bash \ 1.26 -coreutils-line xorg-libX11-dev zlib-dev freetype-dev jpeg-dev libpng-dev \ 1.27 -readline-dev cairo-dev pango-dev xorg-libXft-dev gtk+-dev python-dev \ 1.28 -libuninameslist-dev libspiro-dev util-linux-uuid-dev" 1.29 +DEPENDS="gtk+ libltdl libspiro libuninameslist python" 1.30 +BUILD_DEPENDS="autoconf automake bash cacerts cairo-dev \ 1.31 + coreutils-context-system coreutils-line freetype-dev \ 1.32 + git gtk+-dev jpeg-dev libpng-dev libspiro-dev libtool \ 1.33 + libuninameslist-dev pango-dev perl python-dev \ 1.34 + readline-dev util-linux-uuid-dev xorg-libX11-dev \ 1.35 + xorg-libXft-dev zlib-dev" 1.36 +# As 'busybox date' does not support the given options, 1.37 +# coreutils-context-system is required. 1.38 1.39 # Rules to configure and make the package. 1.40 compile_rules() 1.41 { 1.42 - ./bootstrap --skip-git --gnulib-srcdir $src/gnulib 1.43 + ./bootstrap && 1.44 +# --skip-git 1.45 +# --gnulib-srcdir=$src/gnulib 1.46 1.47 - ./configure \ 1.48 - --enable-gtk2-use \ 1.49 - $CONFIGURE_ARGS && 1.50 - make && 1.51 + ./configure \ 1.52 + --enable-gtk2-use \ 1.53 + $CONFIGURE_ARGS && 1.54 + make -j 1 && 1.55 make DESTDIR=$install install 1.56 } 1.57 1.58 # Rules to gen a SliTaz package suitable for Tazpkg. 1.59 genpkg_rules() 1.60 { 1.61 - mkdir -p $fs/usr/lib/python2.7/site-packages $fs/usr/share 1.62 - cp -a $install/usr/bin $fs/usr 1.63 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.64 - cp -a $install/usr/lib/python2.7/site-packages/*.so $fs/usr/lib/python2.7/site-packages 1.65 - cp -a $install/usr/share/fontforge $fs/usr/share 1.66 + mkdir -p $fs/usr/lib/python2.7/site-packages 1.67 + mkdir -p $fs/usr/share 1.68 + 1.69 + cp -a $install/usr/bin $fs/usr 1.70 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.71 + cp -a $install/usr/lib/python2.7/site-packages/*.so \ 1.72 + $fs/usr/lib/python2.7/site-packages 1.73 + cp -a $install/usr/share/fontforge $fs/usr/share 1.74 1.75 # Desktop integration not auto-installed 1.76 - mkdir -p \ 1.77 - $fs/usr/share/applications \ 1.78 - $fs/usr/share/mime/packages \ 1.79 + mkdir -p \ 1.80 + $fs/usr/share/applications \ 1.81 + $fs/usr/share/mime/packages \ 1.82 $fs/usr/share/icons/hicolor 1.83 - cp -a $src/desktop/fontforge.desktop $fs/usr/share/applications 1.84 - cp -a $src/desktop/fontforge.xml $fs/usr/share/mime/packages 1.85 - cp -a $src/desktop/icons/16x16 $src/desktop/icons/48x48 \ 1.86 + 1.87 + cp -a $src/desktop/fontforge.desktop \ 1.88 + $fs/usr/share/applications 1.89 + cp -a $src/desktop/fontforge.xml \ 1.90 + $fs/usr/share/mime/packages 1.91 + cp -a $src/desktop/icons/16x16 \ 1.92 + $fs/usr/share/icons/hicolor 1.93 + cp -a $src/desktop/icons/48x48 \ 1.94 $fs/usr/share/icons/hicolor 1.95 1.96 # Remove included fonts