/[gentoo-x86]/sys-apps/udevil/udevil-0.3.2.ebuild
Gentoo

Contents of /sys-apps/udevil/udevil-0.3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Dec 17 18:44:03 2012 UTC (19 months, 1 week ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
version bump, remove old

(Portage version: 2.2.0_alpha148/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/udevil/udevil-0.3.2.ebuild,v 1.3 2012/11/29 02:05:38 ssuominen Exp $
4
5 EAPI=4
6
7 inherit eutils autotools user
8
9 DESCRIPTION="mount and unmount removable devices without a password"
10 HOMEPAGE="http://ignorantguru.github.com/udevil/"
11 SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RDEPEND=">=app-shells/bash-4.0
19 dev-libs/glib:2
20 sys-apps/util-linux
21 >=virtual/udev-143
22 virtual/acl"
23 DEPEND="${RDEPEND}
24 dev-util/intltool
25 sys-devel/gettext
26 virtual/pkgconfig"
27
28 pkg_setup(){
29 enewgroup plugdev
30 }
31
32 src_prepare() {
33 epatch "${FILESDIR}/${PN}-0.2.8-flags.patch"
34 eautoreconf
35 }
36
37 src_configure() {
38 econf \
39 --with-setfacl-prog="$(type -P setfacl)"
40 }
41
42 src_install() {
43 default
44 fowners root:plugdev /usr/bin/udevil
45 fperms 4754 /usr/bin/udevil
46 }
47
48 pkg_postinst() {
49 einfo
50 elog "Please add your user to the plugdev group"
51 elog "to be able to use ${PN} as a user"
52 elog
53 elog "Optional dependencies:"
54 elog " gnome-extra/zenity (devmon popups)"
55 elog " net-fs/cifs-utils (mounting samba shares)"
56 elog " net-fs/curlftpfs (mounting ftp shares)"
57 elog " net-fs/nfs-utils (mounting nfs shares)"
58 elog " sys-fs/sshfs-fuse (mounting sftp shares)"
59 elog " virtual/eject (eject via devmon)"
60 if ! has_version 'sys-fs/udisks' ; then
61 elog
62 elog "When using ${PN} without udisks, and without the udisks-daemon running,"
63 elog "you may need to enable kernel polling for device media changes to be detected."
64 elog "See http://ignorantguru.github.com/${PN}/#polling"
65 has_version '<virtual/udev-173' && ewarn "You need at least udev-173"
66 kernel_is lt 2 6 38 && ewarn "You need at least kernel 2.6.38"
67 einfo
68 fi
69 }

  ViewVC Help
Powered by ViewVC 1.1.20