wok-current view ghex/receipt @ rev 21099

updated laptop-mode-tools again (1.60 -> 1.72.2)
author Hans-G?nter Theisgen
date Mon Mar 18 16:26:35 2019 +0100 (2019-03-18)
parents 17e313b5b9c1
children af8d823a3077
line source
1 # SliTaz package receipt.
3 PACKAGE="ghex"
4 VERSION="2.24.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GHex is a simple binary editor."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://directory.fsf.org/wiki/Ghex"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring"
14 BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \
15 libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \
16 libgnomeprintui-dev intltool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
23 # GHex2 cannot display help without Yelp. Removing help references.
24 patch -Np1 -i $stuff/ghex2-remove-help.patch
26 ./configure \
27 --disable-schemas-install \
28 --disable-scrollkeeper \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin \
38 $fs/usr/lib \
39 $fs/usr/share
41 cp -a $install/usr/bin/* $fs/usr/bin
42 cp -ar $install/usr/etc $fs/usr
43 cp -a $install/usr/lib/*so* $fs/usr/lib
44 cp -ar $install/usr/share/applications $fs/usr/share
45 cp -ar $install/usr/share/gnome-2.0 $fs/usr/share
46 cp -ar $install/usr/share/icons $fs/usr/share
47 cp -ar $install/usr/share/locale $fs/usr/share
48 }