wok-next view xournal/receipt @ rev 6369
Up: dia to 0.97.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 21 02:58:07 2010 +0000 (2010-09-21) |
parents | 42db8f10c287 |
children | 9c404c929ef1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xournal"
4 VERSION="0.4.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Notetaking application."
7 MAINTAINER="remy.carel@free.fr"
8 DEPENDS="gtk+ libgnomecanvas poppler poppler-apps gcc-lib-base"
9 BUILD_DEPENDS="autoconf automake gtk+-dev libgnomecanvas libgnomecanvas-dev \
10 poppler poppler-dev zlib-dev libart_lgpl-dev"
11 SUGGESTED="ghostscript"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://xournal.sourceforge.net/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 make DESTDIR=$PWD/_pkg desktop-install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share $fs/usr
35 }
37 post_install()
38 {
39 echo -n "Updating databases..."
40 cp /usr/share/xournal/pixmaps/xournal.png /usr/share/pixmaps
41 sed -i 's/Icon=xournal/Icon=xournal.png/' /usr/share/applications/xournal.desktop
42 update-desktop-database
43 update-mime-database /usr/share/mime
44 gtk-update-icon-cache -f -t /usr/share/icons/hicolor 2>/dev/null
45 status
46 }