wok annotate fontforge/receipt @ rev 21322
updated libtorrent-dev again (0.13.3 -> 0.13.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 19 07:57:25 2019 +0100 (2019-04-19) |
parents | 6d29d11020a4 |
children | 17429b2b6b97 |
rev | line source |
---|---|
al@17914 | 1 # SliTaz package receipt. |
al@17914 | 2 |
al@17914 | 3 PACKAGE="fontforge" |
al@17914 | 4 VERSION="20150330" |
al@17914 | 5 CATEGORY="development" |
al@17914 | 6 SHORT_DESC="An outline font editor" |
al@17914 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17914 | 8 LICENSE="BSD GPL3" |
al@17914 | 9 WEB_SITE="http://fontforge.github.io/" |
al@17914 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@17914 | 11 WGET_URL="https://github.com/fontforge/fontforge/releases/download/$VERSION/$TARBALL" |
al@17914 | 12 TAGS="editor font" |
al@17914 | 13 |
al@17914 | 14 DEPENDS="gtk+ libuninameslist python libspiro libltdl" |
al@17914 | 15 BUILD_DEPENDS="wget cacerts libtool git perl tar autoconf automake bash \ |
al@17914 | 16 coreutils-line xorg-libX11-dev zlib-dev freetype-dev jpeg-dev libpng-dev \ |
al@17914 | 17 readline-dev cairo-dev pango-dev xorg-libXft-dev gtk+-dev python-dev \ |
pascal@17915 | 18 libuninameslist-dev libspiro-dev util-linux-uuid-dev" |
al@17914 | 19 |
al@17914 | 20 # Rules to configure and make the package. |
al@17914 | 21 compile_rules() |
al@17914 | 22 { |
al@17914 | 23 ./bootstrap --skip-git --gnulib-srcdir $src/gnulib |
al@17914 | 24 |
al@17914 | 25 ./configure \ |
al@17914 | 26 --enable-gtk2-use \ |
al@17914 | 27 $CONFIGURE_ARGS && |
al@17914 | 28 make && |
al@17914 | 29 make DESTDIR=$install install |
al@17914 | 30 } |
al@17914 | 31 |
al@17914 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17914 | 33 genpkg_rules() |
al@17914 | 34 { |
al@17914 | 35 mkdir -p $fs/usr/lib/python2.7/site-packages $fs/usr/share |
al@17914 | 36 cp -a $install/usr/bin $fs/usr |
al@17914 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@17914 | 38 cp -a $install/usr/lib/python2.7/site-packages/*.so $fs/usr/lib/python2.7/site-packages |
al@17914 | 39 cp -a $install/usr/share/fontforge $fs/usr/share |
al@17916 | 40 |
al@17916 | 41 # Desktop integration not auto-installed |
al@17916 | 42 mkdir -p \ |
al@17916 | 43 $fs/usr/share/applications \ |
al@17916 | 44 $fs/usr/share/mime/packages \ |
al@17916 | 45 $fs/usr/share/icons/hicolor |
al@17916 | 46 cp -a $src/desktop/fontforge.desktop $fs/usr/share/applications |
al@17916 | 47 cp -a $src/desktop/fontforge.xml $fs/usr/share/mime/packages |
al@17916 | 48 cp -a $src/desktop/icons/16x16 $src/desktop/icons/48x48 \ |
al@17916 | 49 $fs/usr/share/icons/hicolor |
al@17916 | 50 |
al@17916 | 51 # Remove included fonts |
al@17916 | 52 rm -r $fs/usr/share/fontforge/pixmaps/*.ttf |
al@17914 | 53 } |