wok-6.x view ghex/receipt @ rev 13582

Add mdbtools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 06 10:05:01 2012 +0100 (2012-11-06)
parents c4026adee5e9
children b443ca7e291e
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/2.24/$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 # GHex2 cannot display help without Yelp. Removing help references.
21 patch -Np1 -i $stuff/ghex2-remove-help.patch
23 ./configure \
24 --disable-schemas-install \
25 --disable-scrollkeeper \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$install install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin \
35 $fs/usr/lib \
36 $fs/usr/share
38 cp -a $install/usr/bin/* $fs/usr/bin
39 cp -ar $install/usr/etc $fs/usr
40 cp -a $install/usr/lib/*so* $fs/usr/lib
41 cp -ar $install/usr/share/applications $fs/usr/share
42 cp -ar $install/usr/share/gnome-2.0 $fs/usr/share
43 cp -ar $install/usr/share/icons $fs/usr/share
44 cp -ar $install/usr/share/locale $fs/usr/share
45 }