wok-next annotate spicview/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 87011214235a |
children | d5aab818505e |
rev | line source |
---|---|
al@21003 | 1 # SliTaz package receipt v2. |
al@21003 | 2 |
al@21003 | 3 PACKAGE="spicview" |
al@21003 | 4 VERSION="git20180607" # no releases there |
al@21003 | 5 COMMIT="c1334be" |
al@21003 | 6 CATEGORY="x-window" |
al@21003 | 7 SHORT_DESC="SPicView - lightweight image viewer for SDE project" |
al@21003 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@21003 | 9 LICENSE="GPL2" |
al@21003 | 10 WEB_SITE="https://github.com/sde-gui/spicview" |
al@21003 | 11 # https://sde-gui.github.io/spicview/ |
al@21003 | 12 |
al@21003 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21003 | 14 WGET_URL="https://github.com/sde-gui/spicview/archive/$COMMIT.tar.gz" |
al@21003 | 15 |
al@21017 | 16 BUILD_DEPENDS="automake libtool gettext glib-dev intltool gtk2-dev \ |
al@21003 | 17 gdk-pixbuf-dev libjpeg-turbo-dev libsmfm-gtk-dev libsmfm-core-dev" |
al@21003 | 18 |
al@21003 | 19 compile_rules() { |
al@21003 | 20 # hardcoded to use automake-1.11 ... 1.15, but we have automake-1.16 only |
al@21003 | 21 sed -i 's|1\.15|1.16|' autogen.sh |
al@21003 | 22 |
al@21003 | 23 ./autogen.sh && |
al@21003 | 24 ./configure $CONFIGURE_ARGS && |
al@21003 | 25 fix libtool && |
al@21003 | 26 make && |
al@21003 | 27 make install |
al@21003 | 28 } |
al@21003 | 29 |
al@21003 | 30 genpkg_rules() { |
al@21003 | 31 copy @std |
al@21017 | 32 DEPENDS="cairo gdk-pixbuf glib gtk2 libjpeg-turbo libsmfm-core libsmfm-gtk \ |
al@21003 | 33 pango" |
al@21003 | 34 } |