wok-stable diff ghex/receipt @ rev 11945

pcmanfm: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 01 09:20:32 2012 +0100 (2012-03-01)
parents
children fbf78c359b78
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ghex/receipt	Thu Mar 01 09:20:32 2012 +0100
     1.3 @@ -0,0 +1,45 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ghex"
     1.7 +VERSION="2.24.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="GHex is a simple binary editor."
    1.10 +MAINTAINER="samuel_trassare@yahoo.com"
    1.11 +WEB_SITE="http://directory.fsf.org/wiki/Ghex"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/2.24/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring"
    1.16 +BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \
    1.17 +libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \
    1.18 +libgnomeprintui-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	# GHex2 cannot display help without Yelp.  Removing help references.
    1.24 +	patch -Np1 -i $stuff/ghex2-remove-help.patch
    1.25 +	
    1.26 +	./configure \
    1.27 +		--disable-schemas-install \
    1.28 +		--disable-scrollkeeper \
    1.29 +		$CONFIGURE_ARGS && 
    1.30 +	make && 
    1.31 +	make DESTDIR=$install install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/bin \
    1.38 +		$fs/usr/lib \
    1.39 +		$fs/usr/share
    1.40 +		
    1.41 +	cp -a $install/usr/bin/* $fs/usr/bin
    1.42 +	cp -ar $install/usr/etc $fs/usr
    1.43 +	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.44 +	cp -ar $install/usr/share/applications $fs/usr/share
    1.45 +	cp -ar $install/usr/share/gnome-2.0 $fs/usr/share
    1.46 +	cp -ar $install/usr/share/icons $fs/usr/share
    1.47 +	cp -ar $install/usr/share/locale $fs/usr/share
    1.48 +}