wok-6.x annotate xournal/receipt @ rev 24622

updated graphviz, graphviz-dev and graphviz-doc (2.42.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Mon Mar 07 16:02:21 2022 +0100 (2022-03-07)
parents ad86373a4a8c
children 7dd01dedad38
rev   line source
paul@4634 1 # SliTaz package receipt.
paul@4634 2
paul@4634 3 PACKAGE="xournal"
pascal@24147 4 VERSION="0.4.8.2016"
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
pascal@24147 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4634 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@24147 13 TAGS="annotation pdf"
paul@4634 14
Hans-G?nter@22304 15 SUGGESTED="ghostscript"
Hans-G?nter@22304 16 DEPENDS="gcc-lib-base gtk+ libgnomecanvas poppler poppler-apps"
Hans-G?nter@22304 17 BUILD_DEPENDS="autoconf automake gtk+-dev libart_lgpl-dev
Hans-G?nter@22304 18 libgnomecanvas-dev poppler-dev zlib-dev"
pascal@15000 19
pascal@24108 20 current_version()
pascal@24108 21 {
pascal@24108 22 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
pascal@24108 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24108 24 sed '/files_name_h/!d;/xournal/!d;s|.*binaries/||;s|/.*||;q'
pascal@24108 25 }
pascal@24108 26
paul@4634 27 # Rules to configure and make the package.
paul@4634 28 compile_rules()
paul@4634 29 {
meshca@12813 30 CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz"
monghitri@13952 31 # wget http://people.slitaz.org/~naitsirhc/xournal.patch && \
monghitri@13952 32 # patch -p1 -i xournal.patch &&
Hans-G?nter@22304 33
Hans-G?nter@22304 34 ./configure \
Hans-G?nter@22304 35 --prefix=/usr \
Hans-G?nter@22304 36 --infodir=/usr/share/info \
Hans-G?nter@22304 37 --mandir=/usr/share/man \
paul@4634 38 $CONFIGURE_ARGS &&
Hans-G?nter@22304 39 make &&
Hans-G?nter@22304 40 make DESTDIR=$DESTDIR install &&
Hans-G?nter@22304 41 make DESTDIR=$DESTDIR desktop-install
paul@4634 42 }
paul@4634 43
paul@4634 44 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4634 45 genpkg_rules()
paul@4634 46 {
al@17261 47 mkdir -p $fs/usr/share
al@17261 48
Hans-G?nter@22304 49 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22304 50 cp -a $install/usr/share/icons $fs/usr/share
Hans-G?nter@22304 51 cp -a $install/usr/share/xournal $fs/usr/share
paul@4634 52 }