wok view libgtkimageview/receipt @ rev 25063

nfs-utils: update web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 07 20:10:22 2022 +0000 (23 months ago)
parents 22471cbea549
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgtkimageview"
4 VERSION="1.6.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Simple image viewer widget for GTK."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="LGPL2.1"
9 SOURCE="gtkimageview"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://web.archive.org/web/20130517010338/http://trac.bjourne.webfactional.com/"
12 WGET_URL="https://eternallybored.org/misc/gimp/plugins/ufraw/src/$TARBALL"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev expat-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed '/gtkimageview/!d;/tar/!d;s|.*gtkimageview-||;s|.t.*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 # Remove devel files
42 cd $fs/usr/lib
43 rm -r libgtkimageview.a libgtkimageview.la pkgconfig/
44 }