wok-current view xournal/receipt @ rev 17410
Add trickle
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 29 11:26:00 2014 +0100 (2014-11-29) |
parents | 380ffe05937a |
children | feb2e0c63d21 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xournal"
4 VERSION="0.4.7"
5 CATEGORY="utilities"
6 SHORT_DESC="Notetaking application."
7 MAINTAINER="meshca@clarkson.edu"
8 LICENSE="GPL2"
9 SUGGESTED="ghostscript"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://xournal.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gtk+ libgnomecanvas poppler poppler-apps gcc-lib-base"
15 BUILD_DEPENDS="autoconf automake gtk+-dev libgnomecanvas libgnomecanvas-dev \
16 poppler poppler-dev zlib-dev libart_lgpl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz"
22 # wget http://people.slitaz.org/~naitsirhc/xournal.patch && \
23 # patch -p1 -i xournal.patch &&
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install && make DESTDIR=$DESTDIR desktop-install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/icons $fs/usr/share
39 cp -a $install/usr/share/xournal $fs/usr/share
40 }