wok-current diff font-manager/receipt @ rev 14849
realvnc-viewer: add desktop entry
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 18 09:52:58 2013 +0000 (2013-07-18) |
parents | |
children | 2b9f96603415 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/font-manager/receipt Thu Jul 18 09:52:58 2013 +0000 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="font-manager" 1.7 +VERSION="0.5.7" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="A font management application for the GNOME desktop" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +WEB_SITE="http://code.google.com/p/font-manager/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" 1.14 + 1.15 +DEPENDS="python pygtk pygobject pycairo libxml2-python fontconfig freetype \ 1.16 +sqlite" 1.17 +BUILD_DEPENDS="bash python-dev fontconfig-dev freetype-dev glib-dev pango-dev \ 1.18 +sqlite-dev intltool" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + ./configure --enable-bytecode --enable-nls $CONFIGURE_ARGS && 1.25 + make && 1.26 + make DESTDIR=$install install 1.27 + 1.28 + # fix translations 1.29 + for p in $(ls po | grep -e '.po$'); do 1.30 + msgfmt $src/po/$p -o $install/usr/share/locale/${p%.po}/LC_MESSAGES/font-manager.mo 1.31 + done 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + cp -a $install/* $fs 1.38 + # fix paths 1.39 + sed -i "s|$install||g" $fs/usr/bin/* $fs/usr/share/font-manager/*.py 1.40 + # remove help (need absent yelp to show) 1.41 + rm -rf $fs/usr/share/font-manager/help 1.42 +}