wok annotate ghex/receipt @ rev 16695

gtk+-dev: add typelibs: /usr/lib/girepository-1.0
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 23 12:14:52 2014 +0300 (2014-05-23)
parents b443ca7e291e
children 17e313b5b9c1
rev   line source
samuel_trassare@11781 1 # SliTaz package receipt.
samuel_trassare@11781 2
samuel_trassare@11781 3 PACKAGE="ghex"
samuel_trassare@11781 4 VERSION="2.24.0"
samuel_trassare@11781 5 CATEGORY="x-window"
samuel_trassare@11781 6 SHORT_DESC="GHex is a simple binary editor."
samuel_trassare@11781 7 MAINTAINER="samuel_trassare@yahoo.com"
pascal@15000 8 LICENSE="GPL2"
samuel_trassare@11781 9 WEB_SITE="http://directory.fsf.org/wiki/Ghex"
samuel_trassare@11781 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13683 11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
samuel_trassare@11781 12
samuel_trassare@11781 13 DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring"
samuel_trassare@11781 14 BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \
samuel_trassare@11781 15 libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \
gokhlayeh@12106 16 libgnomeprintui-dev intltool"
samuel_trassare@11781 17
samuel_trassare@11781 18 # Rules to configure and make the package.
samuel_trassare@11781 19 compile_rules()
samuel_trassare@11781 20 {
pascal@13683 21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
pascal@13683 22
samuel_trassare@11781 23 # GHex2 cannot display help without Yelp. Removing help references.
samuel_trassare@11781 24 patch -Np1 -i $stuff/ghex2-remove-help.patch
samuel_trassare@11781 25
samuel_trassare@11781 26 ./configure \
samuel_trassare@11781 27 --disable-schemas-install \
samuel_trassare@11781 28 --disable-scrollkeeper \
samuel_trassare@11781 29 $CONFIGURE_ARGS &&
samuel_trassare@11781 30 make &&
samuel_trassare@11781 31 make DESTDIR=$install install
samuel_trassare@11781 32 }
samuel_trassare@11781 33
samuel_trassare@11781 34 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11781 35 genpkg_rules()
samuel_trassare@11781 36 {
samuel_trassare@11781 37 mkdir -p $fs/usr/bin \
samuel_trassare@11781 38 $fs/usr/lib \
samuel_trassare@11781 39 $fs/usr/share
samuel_trassare@11781 40
samuel_trassare@11781 41 cp -a $install/usr/bin/* $fs/usr/bin
samuel_trassare@11781 42 cp -ar $install/usr/etc $fs/usr
samuel_trassare@11781 43 cp -a $install/usr/lib/*so* $fs/usr/lib
samuel_trassare@11781 44 cp -ar $install/usr/share/applications $fs/usr/share
samuel_trassare@11781 45 cp -ar $install/usr/share/gnome-2.0 $fs/usr/share
samuel_trassare@11781 46 cp -ar $install/usr/share/icons $fs/usr/share
samuel_trassare@11781 47 cp -ar $install/usr/share/locale $fs/usr/share
samuel_trassare@11781 48 }