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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Wed Apr 14 17:58:44 2010 UTC (4 years, 4 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.2.ebuild,v 1.10 2010/01/01 19:46:36 fauli Exp $
4
5 EAPI=1
6
7 inherit eutils fdo-mime gnome2-utils
8
9 DESCRIPTION="a GTK+ based and advanced archive manager that can be used with Thunar"
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 ~x86-freebsd ~amd64-linux ~x86-linux"
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_unpack() {
25 unpack ${A}
26 cd "${S}"
27 epatch "${FILESDIR}"/${P}-stack-smash.patch
28 }
29
30 src_compile() {
31 econf --disable-dependency-tracking $(use_enable debug)
32 emake || die "emake failed"
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" install || die "emake install failed"
37 dodoc AUTHORS ChangeLog NEWS README TODO
38 }
39
40 pkg_preinst() {
41 gnome2_icon_savelist
42 }
43
44 pkg_postinst() {
45 fdo-mime_desktop_database_update
46 fdo-mime_mime_database_update
47 gnome2_icon_cache_update
48 elog "You need external programs for some formats, including"
49 elog "7zip - app-arch/p7zip"
50 elog "arj - app-arch/unarj app-arch/arj"
51 elog "lha - app-arch/lha"
52 elog "lzop - app-arch/lzop"
53 elog "rar - app-arch/unrar app-arch/rar"
54 elog "zip - app-arch/unzip app-arch/zip"
55 elog "Make sure to install xfce-extra/thunar-archive-plugin."
56 }
57
58 pkg_postrm() {
59 fdo-mime_desktop_database_update
60 fdo-mime_mime_database_update
61 gnome2_icon_cache_update
62 }

  ViewVC Help
Powered by ViewVC 1.1.20