wok-current view gliv/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-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 }