wok-6.x annotate fontforge/receipt @ rev 24838

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