wok-6.x annotate gpicview/receipt @ rev 21182
get-xnviewmp: rm XnView (not XnViewMP)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 02 16:53:10 2019 +0100 (2019-04-02) |
parents | b1b86ca2e29e |
children | ee53899c6189 |
rev | line source |
---|---|
pankso@257 | 1 # SliTaz package receipt. |
pankso@257 | 2 |
pankso@257 | 3 PACKAGE="gpicview" |
Hans-G?nter@20992 | 4 VERSION="0.2.5" |
pankso@257 | 5 CATEGORY="graphics" |
Hans-G?nter@20992 | 6 TAGS="LXDE viewer" |
Hans-G?nter@20992 | 7 SHORT_DESC="Lightweight image viewer." |
pankso@257 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@20992 | 10 WEB_SITE="http://lxde.sourceforge.net/gpicview/" |
Hans-G?nter@20992 | 11 |
Hans-G?nter@20993 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@15000 | 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pascal@15000 | 14 |
pankso@16261 | 15 DEPENDS="gtk+ expat glib libgio libpng jpeg zlib" |
pankso@16261 | 16 BUILD_DEPENDS="gtk+-dev expat-dev glib-dev libgio-dev libpng-dev jpeg-dev" |
Hans-G?nter@20992 | 17 HOST_ARCH="i486 arm" |
pankso@257 | 18 |
pankso@257 | 19 # Rules to configure and make the package. |
pankso@257 | 20 compile_rules() |
pankso@257 | 21 { |
pankso@257 | 22 ./configure \ |
pascal@2516 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@20992 | 24 make -j 1 && |
Hans-G?nter@20992 | 25 make install |
pankso@257 | 26 } |
pankso@257 | 27 |
pankso@257 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@257 | 29 genpkg_rules() |
pankso@257 | 30 { |
pankso@257 | 31 mkdir -p $fs/usr/share |
Hans-G?nter@20992 | 32 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@20992 | 33 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@257 | 34 } |