wok-stable rev 4634
Add: xournal (thanks remy)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Dec 22 21:23:14 2009 +0000 (2009-12-22) |
parents | 16b2b17d85e5 |
children | 9b4277ee26ca |
files | xournal/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xournal/receipt Tue Dec 22 21:23:14 2009 +0000 1.3 @@ -0,0 +1,47 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xournal" 1.7 +VERSION="0.4.5" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Notetaking application." 1.10 +MAINTAINER="remy.carel@free.fr" 1.11 +DEPENDS="gtk+ libgnomecanvas poppler poppler-apps" 1.12 +BUILD_DEPENDS="autoconf automake gtk+-dev libgnomecanvas libgnomecanvas-dev \ 1.13 +poppler poppler-dev zlib-dev libart_lgpl-dev" 1.14 +SUGGESTED="ghostscript" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WEB_SITE="http://xournal.sourceforge.net/" 1.17 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure \ 1.24 + --prefix=/usr \ 1.25 + --infodir=/usr/share/info \ 1.26 + --mandir=/usr/share/man \ 1.27 + $CONFIGURE_ARGS && 1.28 + make && make DESTDIR=$PWD/_pkg install 1.29 + make DESTDIR=$PWD/_pkg desktop-install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr 1.36 + cp -a $_pkg/usr/bin $fs/usr 1.37 + cp -a $_pkg/usr/share $fs/usr 1.38 +} 1.39 + 1.40 +post_install() 1.41 +{ 1.42 + echo -n "Updating databases..." 1.43 + cp /usr/share/xournal/pixmaps/xournal.png /usr/share/pixmaps 1.44 + sed -i 's/Icon=xournal/Icon=xournal.png/' /usr/share/applications/xournal.desktop 1.45 + update-desktop-database 1.46 + update-mime-database /usr/share/mime 1.47 + gtk-update-icon-cache -f -t /usr/share/icons/hicolor 2>/dev/null 1.48 + status 1.49 +} 1.50 +