wok-6.x view 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 source
1 # SliTaz package receipt.
3 PACKAGE="fontforge"
4 VERSION="20150330"
5 CATEGORY="development"
6 SHORT_DESC="An outline font editor"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD GPL3"
9 WEB_SITE="http://fontforge.github.io/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/fontforge/fontforge/releases/download/$VERSION/$TARBALL"
12 TAGS="editor font"
14 DEPENDS="gtk+ libuninameslist python libspiro libltdl"
15 BUILD_DEPENDS="wget cacerts libtool git perl tar autoconf automake bash \
16 coreutils-line xorg-libX11-dev zlib-dev freetype-dev jpeg-dev libpng-dev \
17 readline-dev cairo-dev pango-dev xorg-libXft-dev gtk+-dev python-dev \
18 libuninameslist-dev libspiro-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./bootstrap --skip-git --gnulib-srcdir $src/gnulib
25 ./configure \
26 --enable-gtk2-use \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$install install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/python2.7/site-packages $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/python2.7/site-packages/*.so $fs/usr/lib/python2.7/site-packages
39 cp -a $install/usr/share/fontforge $fs/usr/share
40 }