wok-next diff 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 |
line diff
1.1 --- a/gpicview/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/gpicview/receipt Tue Jun 05 17:27:09 2018 +0300 1.3 @@ -7,26 +7,23 @@ 1.4 MAINTAINER="pankso@slitaz.org" 1.5 LICENSE="GPL2" 1.6 WEB_SITE="https://wiki.lxde.org/en/GPicView" 1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/gpicview.html" 1.8 1.9 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.10 WGET_URL="$SF_MIRROR/lxde/$TARBALL" 1.11 1.12 BUILD_DEPENDS="intltool gtk+-dev" 1.13 1.14 -# Rules to configure and make the package. 1.15 -compile_rules() 1.16 -{ 1.17 - # http://www.linuxfromscratch.org/blfs/view/stable/lxde/gpicview.html 1.18 +compile_rules() { 1.19 sed -i 's|Utility;||' gpicview.desktop.in 1.20 1.21 - ./configure \ 1.22 - $CONFIGURE_ARGS && 1.23 - make && make install 1.24 + ./configure $CONFIGURE_ARGS && 1.25 + fix libtool && 1.26 + make && 1.27 + make install 1.28 } 1.29 1.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 -genpkg_rules() 1.32 -{ 1.33 +genpkg_rules() { 1.34 # skip pixmaps and icons (found in the icon theme) 1.35 copy bin/ *.desktop *.ui 1.36 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libjpeg-turbo \