wok annotate ghex/receipt @ rev 13765
Up: wine, winetricks
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Jan 03 14:55:33 2013 +0300 (2013-01-03) |
parents | fbf78c359b78 |
children | 380ffe05937a |
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" |
samuel_trassare@11781 | 8 WEB_SITE="http://directory.fsf.org/wiki/Ghex" |
samuel_trassare@11781 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13683 | 10 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
samuel_trassare@11781 | 11 |
samuel_trassare@11781 | 12 DEPENDS="gtk+ libgnomeui libgnomeprintui libgnome-keyring" |
samuel_trassare@11781 | 13 BUILD_DEPENDS="gtk+-dev gnome-doc-utils-dev libgnomeui-dev libbonoboui-dev \ |
samuel_trassare@11781 | 14 libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \ |
gokhlayeh@12106 | 15 libgnomeprintui-dev intltool" |
samuel_trassare@11781 | 16 |
samuel_trassare@11781 | 17 # Rules to configure and make the package. |
samuel_trassare@11781 | 18 compile_rules() |
samuel_trassare@11781 | 19 { |
pascal@13683 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" |
pascal@13683 | 21 |
samuel_trassare@11781 | 22 # GHex2 cannot display help without Yelp. Removing help references. |
samuel_trassare@11781 | 23 patch -Np1 -i $stuff/ghex2-remove-help.patch |
samuel_trassare@11781 | 24 |
samuel_trassare@11781 | 25 ./configure \ |
samuel_trassare@11781 | 26 --disable-schemas-install \ |
samuel_trassare@11781 | 27 --disable-scrollkeeper \ |
samuel_trassare@11781 | 28 $CONFIGURE_ARGS && |
samuel_trassare@11781 | 29 make && |
samuel_trassare@11781 | 30 make DESTDIR=$install install |
samuel_trassare@11781 | 31 } |
samuel_trassare@11781 | 32 |
samuel_trassare@11781 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11781 | 34 genpkg_rules() |
samuel_trassare@11781 | 35 { |
samuel_trassare@11781 | 36 mkdir -p $fs/usr/bin \ |
samuel_trassare@11781 | 37 $fs/usr/lib \ |
samuel_trassare@11781 | 38 $fs/usr/share |
samuel_trassare@11781 | 39 |
samuel_trassare@11781 | 40 cp -a $install/usr/bin/* $fs/usr/bin |
samuel_trassare@11781 | 41 cp -ar $install/usr/etc $fs/usr |
samuel_trassare@11781 | 42 cp -a $install/usr/lib/*so* $fs/usr/lib |
samuel_trassare@11781 | 43 cp -ar $install/usr/share/applications $fs/usr/share |
samuel_trassare@11781 | 44 cp -ar $install/usr/share/gnome-2.0 $fs/usr/share |
samuel_trassare@11781 | 45 cp -ar $install/usr/share/icons $fs/usr/share |
samuel_trassare@11781 | 46 cp -ar $install/usr/share/locale $fs/usr/share |
samuel_trassare@11781 | 47 } |