wok view gliv/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents c64480f55d85
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gliv"
4 VERSION="1.9.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="An image viewer that uses OpenGL"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://guichaz.free.fr/gliv/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
13 DEPENDS="gtk+ gtkglext gettext-base pangox-compat"
14 BUILD_DEPENDS="gtk+-dev gtkglext gtkglext-dev bison mesa-dev pangox-compat-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/gliv-/!d;/rpm/!d;s|.*gliv-||;s|-.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }