wok-backports rev 41

Add xournal
author Richard Dunbar <mojo@slitaz.org>
date Wed Feb 04 17:08:57 2015 -0500 (2015-02-04)
parents a6b17615a09d
children 3faad2af7d79
files xournal/description.txt xournal/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xournal/description.txt	Wed Feb 04 17:08:57 2015 -0500
     1.3 @@ -0,0 +1,4 @@
     1.4 +Xournal is an application for notetaking, sketching, keeping a journal using a 
     1.5 +stylus. It is free software (GNU GPL) and runs on Linux (recent distributions) 
     1.6 +and other GTK+/Gnome platforms. It is similar to Microsoft Windows Journal or to
     1.7 +other alternatives such as Jarnal, Gournal, and NoteLab. 
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xournal/receipt	Wed Feb 04 17:08:57 2015 -0500
     2.3 @@ -0,0 +1,40 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="xournal"
     2.7 +VERSION="0.4.7"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="Notetaking application."
    2.10 +MAINTAINER="meshca@clarkson.edu"
    2.11 +LICENSE="GPL2"
    2.12 +SUGGESTED="ghostscript"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://xournal.sourceforge.net/"
    2.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +DEPENDS="gtk+ libgnomecanvas poppler poppler-apps gcc-lib-base"
    2.18 +BUILD_DEPENDS="autoconf automake gtk+-dev libgnomecanvas libgnomecanvas-dev \
    2.19 +poppler poppler-dev zlib-dev libart_lgpl-dev"
    2.20 +
    2.21 +# Rules to configure and make the package.
    2.22 +compile_rules()
    2.23 +{
    2.24 +	CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz"
    2.25 +#	wget http://people.slitaz.org/~naitsirhc/xournal.patch && \
    2.26 +#	patch -p1 -i xournal.patch && 
    2.27 +	./configure \
    2.28 +		--prefix=/usr \
    2.29 +		--infodir=/usr/share/info \
    2.30 +		--mandir=/usr/share/man \
    2.31 +		$CONFIGURE_ARGS &&
    2.32 +	make && make DESTDIR=$DESTDIR install && make DESTDIR=$DESTDIR desktop-install	
    2.33 +}
    2.34 +
    2.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.36 +genpkg_rules()
    2.37 +{
    2.38 +	mkdir -p $fs/usr/share
    2.39 +
    2.40 +	cp -a $install/usr/bin $fs/usr
    2.41 +	cp -a $install/usr/share/icons $fs/usr/share
    2.42 +	cp -a $install/usr/share/xournal $fs/usr/share
    2.43 +}