wok-current view xournal/receipt @ rev 24108

Up rdesktop (1.9.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 08:31:51 2021 +0000 (2021-09-28)
parents 620595a50227
children 9c0fdd18095c
line source
1 # SliTaz package receipt.
3 PACKAGE="xournal"
4 VERSION="0.4.8"
5 CATEGORY="utilities"
6 SHORT_DESC="Notetaking application."
7 MAINTAINER="meshca@clarkson.edu"
8 LICENSE="GPL2"
9 WEB_SITE="http://xournal.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.2016.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 SUGGESTED="ghostscript"
15 DEPENDS="gcc-lib-base gtk+ libgnomecanvas poppler poppler-apps"
16 BUILD_DEPENDS="autoconf automake gtk+-dev libart_lgpl-dev
17 libgnomecanvas-dev poppler-dev zlib-dev"
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/files_name_h/!d;/xournal/!d;s|.*binaries/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz"
30 # wget http://people.slitaz.org/~naitsirhc/xournal.patch && \
31 # patch -p1 -i xournal.patch &&
33 ./configure \
34 --prefix=/usr \
35 --infodir=/usr/share/info \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install &&
40 make DESTDIR=$DESTDIR desktop-install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share/icons $fs/usr/share
50 cp -a $install/usr/share/xournal $fs/usr/share
51 }