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