wok diff fontforge/receipt @ rev 17914
Add fontforge and its depends (libspiro, libuninameslist).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 09 03:26:48 2015 +0300 (2015-04-09) |
parents | |
children | 6d29d11020a4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fontforge/receipt Thu Apr 09 03:26:48 2015 +0300 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fontforge" 1.7 +VERSION="20150330" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="An outline font editor" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="BSD GPL3" 1.12 +WEB_SITE="http://fontforge.github.io/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/fontforge/fontforge/releases/download/$VERSION/$TARBALL" 1.15 +TAGS="editor font" 1.16 + 1.17 +DEPENDS="gtk+ libuninameslist python libspiro libltdl" 1.18 +BUILD_DEPENDS="wget cacerts libtool git perl tar autoconf automake bash \ 1.19 +coreutils-line xorg-libX11-dev zlib-dev freetype-dev jpeg-dev libpng-dev \ 1.20 +readline-dev cairo-dev pango-dev xorg-libXft-dev gtk+-dev python-dev \ 1.21 +libuninameslist-dev libspiro-dev" 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + ./bootstrap --skip-git --gnulib-srcdir $src/gnulib 1.27 + 1.28 + ./configure \ 1.29 + --enable-gtk2-use \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && 1.32 + make DESTDIR=$install install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/lib/python2.7/site-packages $fs/usr/share 1.39 + cp -a $install/usr/bin $fs/usr 1.40 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.41 + cp -a $install/usr/lib/python2.7/site-packages/*.so $fs/usr/lib/python2.7/site-packages 1.42 + cp -a $install/usr/share/fontforge $fs/usr/share 1.43 +}