wok-next view sxiv/receipt @ rev 19687

unshield: _BSD_SOURCE is deprecated
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 10 09:48:32 2017 +0200 (2017-04-10)
parents 79efa4731e3f
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="sxiv"
4 VERSION="09122016"
5 CATEGORY="graphics"
6 SHORT_DESC="Simple X Image Viewer."
7 MAINTAINER="paul@slitaz.org"
8 WEB_SITE="https://github.com/muennich/sxiv"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="git|git://github.com/muennich/sxiv"
12 DEPENDS="imlib2 libexif giflib xdg-utils"
13 BUILD_DEPENDS="xorg-dev git bzip2 imlib2-dev libexif-dev giflib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 make
19 make PREFIX=/usr DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/share/sxiv $fs/usr/share
28 }