wok annotate xournal/receipt @ rev 12760

parcellite: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 12 11:58:09 2012 +0200 (2012-05-12)
parents 9c404c929ef1
children e8d08f2efa24
rev   line source
paul@4634 1 # SliTaz package receipt.
paul@4634 2
paul@4634 3 PACKAGE="xournal"
paul@4634 4 VERSION="0.4.5"
paul@4634 5 CATEGORY="utilities"
paul@4634 6 SHORT_DESC="Notetaking application."
paul@4634 7 MAINTAINER="remy.carel@free.fr"
pascal@5008 8 DEPENDS="gtk+ libgnomecanvas poppler poppler-apps gcc-lib-base"
paul@4634 9 BUILD_DEPENDS="autoconf automake gtk+-dev libgnomecanvas libgnomecanvas-dev \
paul@4634 10 poppler poppler-dev zlib-dev libart_lgpl-dev"
paul@4634 11 SUGGESTED="ghostscript"
paul@4634 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4634 13 WEB_SITE="http://xournal.sourceforge.net/"
paul@4634 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
paul@4634 15
paul@4634 16 # Rules to configure and make the package.
paul@4634 17 compile_rules()
paul@4634 18 {
paul@4634 19 cd $src
paul@4634 20 ./configure \
paul@4634 21 --prefix=/usr \
paul@4634 22 --infodir=/usr/share/info \
paul@4634 23 --mandir=/usr/share/man \
paul@4634 24 $CONFIGURE_ARGS &&
paul@4634 25 make && make DESTDIR=$PWD/_pkg install
paul@4634 26 make DESTDIR=$PWD/_pkg desktop-install
paul@4634 27 }
paul@4634 28
paul@4634 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4634 30 genpkg_rules()
paul@4634 31 {
paul@4634 32 mkdir -p $fs/usr
paul@4634 33 cp -a $_pkg/usr/bin $fs/usr
paul@4634 34 cp -a $_pkg/usr/share $fs/usr
paul@4634 35 }
paul@4634 36
paul@4634 37 post_install()
paul@4634 38 {
paul@4634 39 echo -n "Updating databases..."
pascal@12196 40 chroot "$1/" update-desktop-database
pascal@12196 41 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
pascal@12196 42 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor 2>/dev/null
paul@4634 43 status
paul@4634 44 }
paul@4634 45