wok-next annotate xournal/receipt @ rev 21460

slock: added build dependecy libxrandr-dev
author Hans-G?nter Theisgen
date Mon May 11 14:09:59 2020 +0100 (2020-05-11)
parents 6f5739796e82
children
rev   line source
al@20852 1 # SliTaz package receipt v2.
paul@4634 2
paul@4634 3 PACKAGE="xournal"
monghitri@13952 4 VERSION="0.4.7"
paul@4634 5 CATEGORY="utilities"
al@20852 6 SHORT_DESC="Notetaking application"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20852 9 WEB_SITE="http://xournal.sourceforge.net/"
al@20852 10
monghitri@13952 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4634 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
paul@4634 13
al@21017 14 BUILD_DEPENDS="autoconf automake gtk2-dev libgnomecanvas-dev poppler-dev \
al@21020 15 zlib-dev libart_lgpl-dev gettext-dev"
pascal@15000 16
al@20852 17 compile_rules() {
al@20852 18 CFLAGS="$CFLAGS $(pkg-config --cflags --libs gtk+-2.0 x11) -lm -lz"
al@20852 19
al@20852 20 ./configure $CONFIGURE_ARGS &&
al@20852 21 make &&
al@21020 22 make DESTDIR=$install install &&
al@21020 23 make DESTDIR=$install desktop-install
paul@4634 24 }
paul@4634 25
al@20852 26 genpkg_rules() {
al@20852 27 copy @std
al@20852 28 rm -r $fs/usr/share/mimelnk/
al@21105 29 DEPENDS="atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 libart_lgpl \
al@21098 30 libgnomecanvas pango libpoppler libx11 zlib" # poppler?
al@20852 31 SUGGESTED="ghostscript"
paul@4634 32 }