wok view ghex/receipt @ rev 14329
Up: connman (1.12)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Apr 12 19:56:50 2013 +0200 (2013-04-12) |
parents | fbf78c359b78 |
children | 380ffe05937a |
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 WEB_SITE="http://directory.fsf.org/wiki/Ghex"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring"
13 BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \
14 libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \
15 libgnomeprintui-dev intltool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
22 # GHex2 cannot display help without Yelp. Removing help references.
23 patch -Np1 -i $stuff/ghex2-remove-help.patch
25 ./configure \
26 --disable-schemas-install \
27 --disable-scrollkeeper \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin \
37 $fs/usr/lib \
38 $fs/usr/share
40 cp -a $install/usr/bin/* $fs/usr/bin
41 cp -ar $install/usr/etc $fs/usr
42 cp -a $install/usr/lib/*so* $fs/usr/lib
43 cp -ar $install/usr/share/applications $fs/usr/share
44 cp -ar $install/usr/share/gnome-2.0 $fs/usr/share
45 cp -ar $install/usr/share/icons $fs/usr/share
46 cp -ar $install/usr/share/locale $fs/usr/share
47 }