wok-6.x annotate ghex/receipt @ rev 12306
Add linux64-btrfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 17 12:15:25 2012 +0200 (2012-04-17) |
parents | c4026adee5e9 |
children | b443ca7e291e |
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" |
samuel_trassare@11781 | 10 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/2.24/$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 { |
samuel_trassare@11781 | 20 # GHex2 cannot display help without Yelp. Removing help references. |
samuel_trassare@11781 | 21 patch -Np1 -i $stuff/ghex2-remove-help.patch |
samuel_trassare@11781 | 22 |
samuel_trassare@11781 | 23 ./configure \ |
samuel_trassare@11781 | 24 --disable-schemas-install \ |
samuel_trassare@11781 | 25 --disable-scrollkeeper \ |
samuel_trassare@11781 | 26 $CONFIGURE_ARGS && |
samuel_trassare@11781 | 27 make && |
samuel_trassare@11781 | 28 make DESTDIR=$install install |
samuel_trassare@11781 | 29 } |
samuel_trassare@11781 | 30 |
samuel_trassare@11781 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11781 | 32 genpkg_rules() |
samuel_trassare@11781 | 33 { |
samuel_trassare@11781 | 34 mkdir -p $fs/usr/bin \ |
samuel_trassare@11781 | 35 $fs/usr/lib \ |
samuel_trassare@11781 | 36 $fs/usr/share |
samuel_trassare@11781 | 37 |
samuel_trassare@11781 | 38 cp -a $install/usr/bin/* $fs/usr/bin |
samuel_trassare@11781 | 39 cp -ar $install/usr/etc $fs/usr |
samuel_trassare@11781 | 40 cp -a $install/usr/lib/*so* $fs/usr/lib |
samuel_trassare@11781 | 41 cp -ar $install/usr/share/applications $fs/usr/share |
samuel_trassare@11781 | 42 cp -ar $install/usr/share/gnome-2.0 $fs/usr/share |
samuel_trassare@11781 | 43 cp -ar $install/usr/share/icons $fs/usr/share |
samuel_trassare@11781 | 44 cp -ar $install/usr/share/locale $fs/usr/share |
samuel_trassare@11781 | 45 } |