SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ghex"

# SliTaz package receipt.

PACKAGE="ghex"
VERSION="2.24.0"
CATEGORY="x-window"
SHORT_DESC="GHex is a simple binary editor."
MAINTAINER="samuel_trassare@yahoo.com"
WEB_SITE="http://directory.fsf.org/wiki/Ghex"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/2.24/$TARBALL"

DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring"
BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \
libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \
libgnomeprintui-dev intltool"

# Rules to configure and make the package.
compile_rules()
{
    # GHex2 cannot display help without Yelp.  Removing help references.
    patch -Np1 -i $stuff/ghex2-remove-help.patch
    
    ./configure \
        --disable-schemas-install \
        --disable-scrollkeeper \
        $CONFIGURE_ARGS && 
    make && 
    make DESTDIR=$install install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin \
        $fs/usr/lib \
        $fs/usr/share
        
    cp -a $install/usr/bin/* $fs/usr/bin
    cp -ar $install/usr/etc $fs/usr
    cp -a $install/usr/lib/*so* $fs/usr/lib
    cp -ar $install/usr/share/applications $fs/usr/share
    cp -ar $install/usr/share/gnome-2.0 $fs/usr/share
    cp -ar $install/usr/share/icons $fs/usr/share
    cp -ar $install/usr/share/locale $fs/usr/share
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)