wok-6.x view sxiv/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
parents | 5ea0ce1cecc0 |
children | 59547e97954f |
line source
1 # SliTaz package receipt.
3 PACKAGE="sxiv"
4 VERSION="26"
5 CATEGORY="graphics"
6 SHORT_DESC="Simple X Image Viewer."
7 MAINTAINER="paul@slitaz.org"
8 WEB_SITE="https://github.com/muennich/sxiv"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="giflib imlib2 libexif xdg-utils"
14 BUILD_DEPENDS="bzip2 giflib-dev imlib2-dev libexif-dev xorg-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make &&
26 make PREFIX=/usr DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/sxiv $fs/usr/share
36 }