/[gentoo-x86]/sys-apps/hal/hal-0.2.97.ebuild
Gentoo

Contents of /sys-apps/hal/hal-0.2.97.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Oct 28 22:22:37 2004 UTC (9 years, 11 months ago) by foser
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
new release

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.2.97.ebuild,v 1.5 2004/09/18 22:24:14 lv Exp $
4
5 inherit eutils debug python
6
7 DESCRIPTION="Hardware Abstraction Layer"
8 HOMEPAGE="http://www.freedesktop.org/Software/hal"
9
10 SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz"
11 LICENSE="GPL-2 | AFL-2.0"
12
13 SLOT="0"
14 KEYWORDS="~x86 ~ppc ~amd64"
15 IUSE=""
16
17 RDEPEND=">=dev-libs/glib-2.2.2
18 >=sys-apps/dbus-0.22
19 dev-libs/expat
20 sys-fs/udev
21 sys-apps/hotplug"
22
23 DEPEND="${RDEPEND}
24 dev-util/pkgconfig"
25
26 src_compile() {
27
28 # FIXME : docs
29 econf \
30 --disable-doxygen-docs \
31 --disable-docbook-docs \
32 || die
33
34 emake || die
35
36 }
37
38 src_install() {
39
40 make DESTDIR=${D} install || die
41
42 # initscript
43 exeinto /etc/init.d/
44 doexe ${FILESDIR}/hald
45
46 # fstab automatic device creation
47 dosym /usr/sbin/fstab-sync /etc/hal/device.d/fstab-sync
48
49 dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
50
51 }
52
53 pkg_preinst() {
54
55 enewgroup haldaemon || die "Problem adding haldaemon group"
56 enewuser haldaemon -1 /bin/false /dev/null haldaemon || die "Problem adding haldaemon user"
57
58 }
59
60 pkg_postinst() {
61
62 ewarn "Enabled in this ebuild by default is the usage of fstab-sync"
63 ewarn "that will create mount rules for non-existing devices in"
64 ewarn "fstab if needed, mount points will be created in /media."
65 ewarn "This functionality alters your fstab runtime on the filesystem"
66 ewarn "and might have unforseen side-effects."
67 echo
68 einfo "The HAL daemon needs to be running for certain applications to"
69 einfo "work. Suggested is to add the init script to your start-up"
70 einfo "scripts, this should be done like this :"
71 einfo "\`rc-update add hald default\`"
72
73 }

  ViewVC Help
Powered by ViewVC 1.1.20