wok-6.x annotate xournal/receipt @ rev 21555
Up rtorrent (0.9.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 13 09:46:40 2019 +0200 (2019-05-13) |
parents | 533c0cab6960 |
children | 620595a50227 |
rev | line source |
---|---|
paul@4634 | 1 # SliTaz package receipt. |
paul@4634 | 2 |
paul@4634 | 3 PACKAGE="xournal" |
monghitri@13952 | 4 VERSION="0.4.7" |
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 SUGGESTED="ghostscript" |
monghitri@13952 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4634 | 11 WEB_SITE="http://xournal.sourceforge.net/" |
paul@4634 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@4634 | 13 |
pascal@15000 | 14 DEPENDS="gtk+ libgnomecanvas poppler poppler-apps gcc-lib-base" |
pascal@15000 | 15 BUILD_DEPENDS="autoconf automake gtk+-dev libgnomecanvas libgnomecanvas-dev \ |
pascal@15000 | 16 poppler poppler-dev zlib-dev libart_lgpl-dev" |
pascal@15000 | 17 |
paul@4634 | 18 # Rules to configure and make the package. |
paul@4634 | 19 compile_rules() |
paul@4634 | 20 { |
meshca@12813 | 21 CFLAGS="$CFLAGS `pkg-config --cflags --libs gtk+-2.0` `pkg-config --libs x11` -lm -lz" |
monghitri@13952 | 22 # wget http://people.slitaz.org/~naitsirhc/xournal.patch && \ |
monghitri@13952 | 23 # patch -p1 -i xournal.patch && |
paul@4634 | 24 ./configure \ |
paul@4634 | 25 --prefix=/usr \ |
paul@4634 | 26 --infodir=/usr/share/info \ |
paul@4634 | 27 --mandir=/usr/share/man \ |
paul@4634 | 28 $CONFIGURE_ARGS && |
pascal@15000 | 29 make && make DESTDIR=$DESTDIR install && make DESTDIR=$DESTDIR desktop-install |
paul@4634 | 30 } |
paul@4634 | 31 |
paul@4634 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4634 | 33 genpkg_rules() |
paul@4634 | 34 { |
al@17261 | 35 mkdir -p $fs/usr/share |
al@17261 | 36 |
pascal@15000 | 37 cp -a $install/usr/bin $fs/usr |
al@17261 | 38 cp -a $install/usr/share/icons $fs/usr/share |
al@17261 | 39 cp -a $install/usr/share/xournal $fs/usr/share |
paul@4634 | 40 } |
psychomaniak@18209 | 41 |