wok-6.x annotate sxiv/receipt @ rev 18692
Add sxiv
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 13 16:08:39 2015 +0000 (2015-12-13) |
parents | |
children | 79efa4731e3f |
rev | line source |
---|---|
paul@18692 | 1 # SliTaz package receipt. |
paul@18692 | 2 |
paul@18692 | 3 PACKAGE="sxiv" |
paul@18692 | 4 VERSION="13122015" |
paul@18692 | 5 CATEGORY="graphics" |
paul@18692 | 6 SHORT_DESC="Simple X Image Viewer." |
paul@18692 | 7 MAINTAINER="paul@slitaz.org" |
paul@18692 | 8 WEB_SITE="https://github.com/muennich/sxiv" |
paul@18692 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@18692 | 10 WGET_URL="git|git://github.com/muennich/sxiv" |
paul@18692 | 11 |
paul@18692 | 12 DEPENDS="imlib2 libexif giflib xdg-utils" |
paul@18692 | 13 BUILD_DEPENDS="xorg-dev git bzip2 imlib2-dev libexif-dev giflib-dev" |
paul@18692 | 14 |
paul@18692 | 15 # Rules to configure and make the package. |
paul@18692 | 16 compile_rules() |
paul@18692 | 17 { |
paul@18692 | 18 make |
paul@18692 | 19 make PREFIX=/usr DESTDIR=$DESTDIR install |
paul@18692 | 20 } |
paul@18692 | 21 |
paul@18692 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18692 | 23 genpkg_rules() |
paul@18692 | 24 { |
paul@18692 | 25 mkdir -p $fs/usr/share |
paul@18692 | 26 cp -a $install/usr/bin $fs/usr |
paul@18692 | 27 cp -a $install/usr/share/sxiv $fs/usr/share |
paul@18692 | 28 } |
paul@18692 | 29 |