wok-next annotate gpicview/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | c4e53a39395a |
children | 91196fd023de |
rev | line source |
---|---|
al@19814 | 1 # SliTaz package receipt v2. |
pankso@257 | 2 |
pankso@257 | 3 PACKAGE="gpicview" |
al@19814 | 4 VERSION="0.2.5" |
pankso@257 | 5 CATEGORY="graphics" |
al@17992 | 6 SHORT_DESC="Lightweight image viewer" |
pankso@257 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19893 | 9 WEB_SITE="https://wiki.lxde.org/en/GPicView" |
al@20573 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/gpicview.html" |
pascal@15000 | 11 |
al@19814 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19814 | 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
al@19814 | 14 |
al@19814 | 15 BUILD_DEPENDS="intltool gtk+-dev" |
pankso@257 | 16 |
al@20573 | 17 compile_rules() { |
al@19814 | 18 sed -i 's|Utility;||' gpicview.desktop.in |
al@19814 | 19 |
al@20573 | 20 ./configure $CONFIGURE_ARGS && |
al@20573 | 21 fix libtool && |
al@20573 | 22 make && |
al@20573 | 23 make install |
pankso@257 | 24 } |
pankso@257 | 25 |
al@20573 | 26 genpkg_rules() { |
al@19814 | 27 # skip pixmaps and icons (found in the icon theme) |
al@19814 | 28 copy bin/ *.desktop *.ui |
al@19814 | 29 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libjpeg-turbo \ |
al@19814 | 30 pango xorg-libX11" |
al@19814 | 31 TAGS="LXDE" |
pankso@257 | 32 } |