wok-6.x annotate sxiv/receipt @ rev 21234
Up libsmpeg (0.4.5), sxiv (25), tcpcrypt (0.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 11 14:47:34 2019 +0200 (2019-04-11) |
parents | 71100cb9396a |
children | 50039c91099a |
rev | line source |
---|---|
paul@18692 | 1 # SliTaz package receipt. |
paul@18692 | 2 |
paul@18692 | 3 PACKAGE="sxiv" |
pascal@21234 | 4 VERSION="25" |
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" |
pascal@21234 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21234 | 10 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
paul@18692 | 11 |
paul@18692 | 12 DEPENDS="imlib2 libexif giflib xdg-utils" |
pascal@21234 | 13 BUILD_DEPENDS="xorg-dev 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 { |
pascal@21234 | 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 } |