/[gentoo-x86]/app-arch/xarchiver/xarchiver-0.5.1.ebuild
Gentoo

Contents of /app-arch/xarchiver/xarchiver-0.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Feb 9 19:35:01 2009 UTC (5 years, 9 months ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleaned up and applied a patch to fix stack smashing (bug 256539 by Frederic Johansson)
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/xarchiver/xarchiver-0.5.1.ebuild,v 1.1 2008/11/07 14:02:15 angelos Exp $
4
5 EAPI=1
6
7 inherit fdo-mime gnome2-utils
8
9 DESCRIPTION="a GTK+ based and advanced archive manager that can be used with Thunar file manager."
10 HOMEPAGE="http://xarchiver.xfce.org"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
16 IUSE="debug"
17
18 RDEPEND=">=x11-libs/gtk+-2.10:2
19 >=dev-libs/glib-2.10:2"
20 DEPEND="${RDEPEND}
21 dev-util/intltool
22 dev-util/pkgconfig"
23
24 src_compile() {
25 econf --disable-dependency-tracking $(use_enable debug)
26 emake || die "emake failed."
27 }
28
29 src_install() {
30 emake DESTDIR="${D}" install || die "emake install failed."
31 dodoc AUTHORS ChangeLog NEWS README TODO
32 }
33
34 pkg_preinst() {
35 gnome2_icon_savelist
36 }
37
38 pkg_postinst() {
39 fdo-mime_desktop_database_update
40 fdo-mime_mime_database_update
41 gnome2_icon_cache_update
42 elog "You need external programs for some formats, including"
43 elog "7zip - app-arch/p7zip"
44 elog "arj - app-arch/unarj app-arch/arj"
45 elog "lha - app-arch/lha"
46 elog "lzop - app-arch/lzop"
47 elog "rar - app-arch/unrar app-arch/rar"
48 elog "zip - app-arch/unzip app-arch/zip"
49 elog "Make sure to install xfce-extra/thunar-archive plug-in."
50 }
51
52 pkg_postrm() {
53 fdo-mime_desktop_database_update
54 fdo-mime_mime_database_update
55 gnome2_icon_cache_update
56 }

  ViewVC Help
Powered by ViewVC 1.1.20