wok-6.x annotate xournal/receipt @ rev 22672
updated ecm and ecm-extras again (1.03 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 14:46:11 2020 +0100 (2020-01-17) |
parents | feb2e0c63d21 |
children | ad86373a4a8c |
rev | line source |
---|---|
paul@4634 | 1 # SliTaz package receipt. |
paul@4634 | 2 |
paul@4634 | 3 PACKAGE="xournal" |
Hans-G?nter@22304 | 4 VERSION="0.4.8" |
paul@4634 | 5 CATEGORY="utilities" |
paul@4634 | 6 SHORT_DESC="Notetaking application." |
meshca@12813 | 7 MAINTAINER="meshca@clarkson.edu" |
pascal@15000 | 8 LICENSE="GPL2" |
paul@4634 | 9 WEB_SITE="http://xournal.sourceforge.net/" |
Hans-G?nter@22304 | 10 |
Hans-G?nter@22304 | 11 TARBALL="$PACKAGE-$VERSION.2016.tar.gz" |
paul@4634 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@4634 | 13 |
Hans-G?nter@22304 | 14 SUGGESTED="ghostscript" |
Hans-G?nter@22304 | 15 DEPENDS="gcc-lib-base gtk+ libgnomecanvas poppler poppler-apps" |
Hans-G?nter@22304 | 16 BUILD_DEPENDS="autoconf automake gtk+-dev libart_lgpl-dev |
Hans-G?nter@22304 | 17 libgnomecanvas-dev poppler-dev zlib-dev" |
pascal@15000 | 18 |
paul@4634 | 19 # Rules to configure and make the package. |
paul@4634 | 20 compile_rules() |
paul@4634 | 21 { |
meshca@12813 | 22 CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz" |
monghitri@13952 | 23 # wget http://people.slitaz.org/~naitsirhc/xournal.patch && \ |
monghitri@13952 | 24 # patch -p1 -i xournal.patch && |
Hans-G?nter@22304 | 25 |
Hans-G?nter@22304 | 26 ./configure \ |
Hans-G?nter@22304 | 27 --prefix=/usr \ |
Hans-G?nter@22304 | 28 --infodir=/usr/share/info \ |
Hans-G?nter@22304 | 29 --mandir=/usr/share/man \ |
paul@4634 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@22304 | 31 make && |
Hans-G?nter@22304 | 32 make DESTDIR=$DESTDIR install && |
Hans-G?nter@22304 | 33 make DESTDIR=$DESTDIR desktop-install |
paul@4634 | 34 } |
paul@4634 | 35 |
paul@4634 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4634 | 37 genpkg_rules() |
paul@4634 | 38 { |
al@17261 | 39 mkdir -p $fs/usr/share |
al@17261 | 40 |
Hans-G?nter@22304 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22304 | 42 cp -a $install/usr/share/icons $fs/usr/share |
Hans-G?nter@22304 | 43 cp -a $install/usr/share/xournal $fs/usr/share |
paul@4634 | 44 } |