wok view ghex/receipt @ rev 20110

Add netsurf-sdl
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 11 21:14:49 2017 +0200 (2017-10-11)
parents 380ffe05937a
children a78610b2eb47
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="http://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 }