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

Diff of /sys-apps/hal/hal-0.4.5-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.1.1.1
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.4.5-r2.ebuild,v 1.1 2005/01/18 22:27:24 foser Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.4.5-r2.ebuild,v 1.1.1.1 2005/11/30 09:56:18 chriswhite Exp $
4 4
5inherit eutils python linux-info versionator flag-o-matic 5inherit eutils python linux-info versionator flag-o-matic
6 6
7DESCRIPTION="Hardware Abstraction Layer" 7DESCRIPTION="Hardware Abstraction Layer"
8HOMEPAGE="http://www.freedesktop.org/Software/hal" 8HOMEPAGE="http://www.freedesktop.org/Software/hal"
9SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz" 9SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz"
10 10
11LICENSE="|| ( GPL-2 AFL-2.0 )" 11LICENSE="|| ( GPL-2 AFL-2.0 )"
12SLOT="0" 12SLOT="0"
13KEYWORDS="~x86 ~amd64 ~ia64 ~ppc ~ppc64" 13KEYWORDS="amd64 ia64 ppc ppc64 x86"
14IUSE="debug pcmcia doc" 14IUSE="debug pcmcia doc livecd"
15 15
16RDEPEND=">=dev-libs/glib-2.4 16RDEPEND=">=dev-libs/glib-2.4
17 >=sys-apps/dbus-0.22-r1 17 >=sys-apps/dbus-0.22-r1
18 dev-libs/expat 18 dev-libs/expat
19 sys-fs/udev 19 sys-fs/udev
20 sys-apps/hotplug 20 sys-apps/hotplug
21 sys-libs/libcap 21 sys-libs/libcap
22 dev-libs/popt 22 dev-libs/popt
23 >=sys-apps/util-linux-2.12i 23 >=sys-apps/util-linux-2.12i
24 || ( >=sys-kernel/linux-headers-2.6 sys-kernel/linux26-headers )" 24 >=sys-kernel/linux-headers-2.6"
25 25
26DEPEND="${RDEPEND} 26DEPEND="${RDEPEND}
27 dev-util/pkgconfig 27 dev-util/pkgconfig
28 >=dev-util/intltool-0.29 28 >=dev-util/intltool-0.29
29 doc? ( app-doc/doxygen )" 29 doc? ( app-doc/doxygen )"
31# managed mount patches #70873 31# managed mount patches #70873
32 32
33# We need to run at least a 2.6.10 kernel, this is a 33# We need to run at least a 2.6.10 kernel, this is a
34# way to ensure that to some extent 34# way to ensure that to some extent
35pkg_setup() { 35pkg_setup() {
36 36 use livecd && return
37 if get_version; then 37 linux-info_pkg_setup
38 kernel_is ge 2.6.10 && break 38 kernel_is ge 2 6 10 \
39 else
40 RKV=$(uname -r)
41 RKV=${RKV///-*}
42 if version_is_at_least "2.6.10" ${RKV}; then
43 break
44 fi
45 fi
46 die "You need a 2.6.10 or newer kernel to build this pack" 39 || die "You need a 2.6.10 or newer kernel to build this package"
47 40
48} 41}
49 42
50src_unpack() { 43src_unpack() {
51 44

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.1.1

  ViewVC Help
Powered by ViewVC 1.1.20