wok annotate sxiv/receipt @ rev 24623
updated graphviz, graphviz-dev and graphviz-doc again (2.42.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:41:52 2022 +0100 (2022-03-07) |
parents | 5ea0ce1cecc0 |
children | 59547e97954f |
rev | line source |
---|---|
paul@18692 | 1 # SliTaz package receipt. |
paul@18692 | 2 |
paul@18692 | 3 PACKAGE="sxiv" |
Hans-G?nter@23688 | 4 VERSION="26" |
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" |
Hans-G?nter@23688 | 9 |
pascal@21234 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21234 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
paul@18692 | 12 |
Hans-G?nter@23688 | 13 DEPENDS="giflib imlib2 libexif xdg-utils" |
Hans-G?nter@23688 | 14 BUILD_DEPENDS="bzip2 giflib-dev imlib2-dev libexif-dev xorg-dev" |
paul@18692 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24299 | 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
paul@18692 | 22 # Rules to configure and make the package. |
paul@18692 | 23 compile_rules() |
paul@18692 | 24 { |
pascal@21234 | 25 make && |
paul@18692 | 26 make PREFIX=/usr DESTDIR=$DESTDIR install |
paul@18692 | 27 } |
paul@18692 | 28 |
paul@18692 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18692 | 30 genpkg_rules() |
paul@18692 | 31 { |
paul@18692 | 32 mkdir -p $fs/usr/share |
Hans-G?nter@23688 | 33 |
Hans-G?nter@23688 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23688 | 35 cp -a $install/usr/share/sxiv $fs/usr/share |
paul@18692 | 36 } |