wok-current view xournal/receipt @ rev 13721
Add cherrytree: A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 21 08:15:57 2012 +0000 (2012-12-21) |
parents | e8d08f2efa24 |
children | 5a95db6bdc22 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xournal"
4 VERSION="0.4.6"
5 CATEGORY="utilities"
6 SHORT_DESC="Notetaking application."
7 MAINTAINER="meshca@clarkson.edu"
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-0.4.5.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 CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz"
21 wget http://people.slitaz.org/~naitsirhc/xournal.patch && \
22 patch -p1 -i xournal.patch && \
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$PWD/_pkg install && make DESTDIR=$PWD/_pkg desktop-install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share $fs/usr
37 }
39 post_install()
40 {
41 echo -n "Updating databases..."
42 chroot "$1/" update-desktop-database
43 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
44 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor 2>/dev/null
45 status
46 }