wok-6.x view libgtkimageview/receipt @ rev 25544
merkaartor: include localised messages in package
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 12 15:58:49 2023 +0100 (21 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 }