blob: 154afd22acc38470ef5ba620d4796c16e22c9f50 (
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
35
36
37
38
39
40
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ivman/ivman-0.5_pre2.ebuild,v 1.4 2005/03/04 18:14:12 genstef Exp $
DESCRIPTION="Daemon to mount/unmount devices, based on info from HAL"
HOMEPAGE="http://ivman.sf.net"
SRC_URI="mirror://sourceforge/ivman/${P}.tar.bz2"
LICENSE="QPL"
KEYWORDS="~amd64 x86 ~ppc"
IUSE="debug"
SLOT="0"
RDEPEND=">=dev-libs/glib-2.2
dev-libs/libxml2
>=sys-apps/hal-0.2.98"
DEPEND="${RDEPEND}
>=sys-devel/libtool-1.5
dev-util/pkgconfig"
src_compile() {
econf $(use_enable debug) || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
exeinto /etc/init.d/
newexe ${FILESDIR}/ivman-0.3.init ivman
}
pkg_postinst() {
einfo "Note that the configuration syntax has changed slightly from"
einfo "previous versions. If you are only using the default options,"
einfo "just merge the new files with etc-update. Otherwise, in your"
einfo "existing rules, replace %m with \$hal.volume.mount_point\$ and"
einfo "replace %d with \$hal.block.device\$. Individual users may also"
einfo "wish to remove their \${HOME}/.ivman directories and have default"
einfo "files re-created with the new syntax."
}
|