wok-6.x annotate ghex/receipt @ rev 24510

updated efibootmgr (16 -> 17)
author Hans-G?nter Theisgen
date Mon Feb 21 06:58:51 2022 +0100 (2022-02-21)
parents a78610b2eb47
children 1f0f29295019
rev   line source
samuel_trassare@11781 1 # SliTaz package receipt.
samuel_trassare@11781 2
samuel_trassare@11781 3 PACKAGE="ghex"
samuel_trassare@11781 4 VERSION="2.24.0"
samuel_trassare@11781 5 CATEGORY="x-window"
samuel_trassare@11781 6 SHORT_DESC="GHex is a simple binary editor."
samuel_trassare@11781 7 MAINTAINER="samuel_trassare@yahoo.com"
pascal@15000 8 LICENSE="GPL2"
pascal@20669 9 WEB_SITE="https://directory.fsf.org/wiki/Ghex"
samuel_trassare@11781 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13683 11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
samuel_trassare@11781 12
samuel_trassare@11781 13 DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring"
samuel_trassare@11781 14 BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \
samuel_trassare@11781 15 libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \
gokhlayeh@12106 16 libgnomeprintui-dev intltool"
samuel_trassare@11781 17
pascal@24445 18 # What is the latest version available today?
pascal@24445 19 current_version()
pascal@24445 20 {
pascal@24445 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24445 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 23 }
pascal@24445 24
samuel_trassare@11781 25 # Rules to configure and make the package.
samuel_trassare@11781 26 compile_rules()
samuel_trassare@11781 27 {
pascal@17670 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
pascal@13683 29
samuel_trassare@11781 30 # GHex2 cannot display help without Yelp. Removing help references.
samuel_trassare@11781 31 patch -Np1 -i $stuff/ghex2-remove-help.patch
samuel_trassare@11781 32
samuel_trassare@11781 33 ./configure \
samuel_trassare@11781 34 --disable-schemas-install \
samuel_trassare@11781 35 --disable-scrollkeeper \
samuel_trassare@11781 36 $CONFIGURE_ARGS &&
samuel_trassare@11781 37 make &&
samuel_trassare@11781 38 make DESTDIR=$install install
samuel_trassare@11781 39 }
samuel_trassare@11781 40
samuel_trassare@11781 41 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11781 42 genpkg_rules()
samuel_trassare@11781 43 {
samuel_trassare@11781 44 mkdir -p $fs/usr/bin \
samuel_trassare@11781 45 $fs/usr/lib \
samuel_trassare@11781 46 $fs/usr/share
samuel_trassare@11781 47
samuel_trassare@11781 48 cp -a $install/usr/bin/* $fs/usr/bin
samuel_trassare@11781 49 cp -ar $install/usr/etc $fs/usr
samuel_trassare@11781 50 cp -a $install/usr/lib/*so* $fs/usr/lib
samuel_trassare@11781 51 cp -ar $install/usr/share/applications $fs/usr/share
samuel_trassare@11781 52 cp -ar $install/usr/share/gnome-2.0 $fs/usr/share
samuel_trassare@11781 53 cp -ar $install/usr/share/icons $fs/usr/share
samuel_trassare@11781 54 cp -ar $install/usr/share/locale $fs/usr/share
samuel_trassare@11781 55 }