summaryrefslogtreecommitdiff
blob: 27e256f115918b14545ca8cfc6f6e4a15eb8b73f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/magicdev/magicdev-1.1.4.ebuild,v 1.3 2004/01/16 03:21:46 leonardop Exp $

inherit gnome2

RPM_V="7"
DESCRIPTION="A GNOME tool to automount/unmount removable media."
HOMEPAGE="http://www.gnome.org/"
SRC_URI="ftp://ftp.redhat.com/pub/redhat/linux/beta/severn/en/os/i386/SRPMS/${P}-${RPM_V}.src.rpm"
LICENSE="GPL-2"

DOCS="AUTHORS ChangeLog COPYING README"
SLOT="0"
IUSE=""
KEYWORDS="x86"
RDEPEND=">=gnome-base/libgnomeui-2.1.90
	>=gnome-base/libglade-2
	>=x11-libs/gtk+-2
	>=gnome-base/gconf-2"

DEPEND="${RDEPEND}
	app-arch/rpm2targz"

src_unpack() {
	cd ${WORKDIR}
	rpm2targz ${DISTDIR}/${P}-${RPM_V}.src.rpm
	tar zxf ${P}-${RPM_V}.src.tar.gz
	tar zxf ${P}.tar.gz

	epatch magicdev-1.1.4-O_EXCL.patch
	epatch magicdev-1.1.4-blacklist.patch
}