wok-6.x annotate gliv/receipt @ rev 25557
Up bzip3 (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 23 16:03:47 2023 +0000 (19 months ago) |
parents | c64480f55d85 |
children |
rev | line source |
---|---|
pascal@11222 | 1 # SliTaz package receipt. |
pascal@11222 | 2 |
pascal@11222 | 3 PACKAGE="gliv" |
al@16908 | 4 VERSION="1.9.7" |
pascal@11222 | 5 CATEGORY="multimedia" |
pascal@11222 | 6 SHORT_DESC="An image viewer that uses OpenGL" |
pascal@11222 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15002 | 8 LICENSE="GPL2" |
al@16885 | 9 WEB_SITE="http://guichaz.free.fr/gliv/" |
pascal@11222 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11222 | 11 WGET_URL="$WEB_SITE/files/$TARBALL" |
pascal@13796 | 12 |
al@16908 | 13 DEPENDS="gtk+ gtkglext gettext-base pangox-compat" |
al@16908 | 14 BUILD_DEPENDS="gtk+-dev gtkglext gtkglext-dev bison mesa-dev pangox-compat-dev" |
pascal@11222 | 15 |
pascal@24427 | 16 # What is the latest version available today? |
pascal@24427 | 17 current_version() |
pascal@24427 | 18 { |
pascal@24427 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24427 | 20 sed '/gliv-/!d;/rpm/!d;s|.*gliv-||;s|-.*||;q' |
pascal@24427 | 21 } |
pascal@24427 | 22 |
pascal@11222 | 23 # Rules to configure and make the package. |
pascal@11222 | 24 compile_rules() |
pascal@11222 | 25 { |
al@16885 | 26 ./configure \ |
al@16885 | 27 --prefix=/usr \ |
al@16885 | 28 --infodir=/usr/share/info \ |
al@16885 | 29 --mandir=/usr/share/man \ |
al@16885 | 30 $CONFIGURE_ARGS && |
pascal@11222 | 31 make && |
pascal@13796 | 32 make DESTDIR=$DESTDIR install |
pascal@11222 | 33 } |
pascal@11222 | 34 |
pascal@11222 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11222 | 36 genpkg_rules() |
pascal@11222 | 37 { |
pascal@11222 | 38 mkdir -p $fs/usr |
pascal@13796 | 39 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 40 cp -a $install/usr/share $fs/usr |
pascal@11222 | 41 } |