/[gentoo-x86]/sys-power/nut/nut-2.6.3.ebuild
Gentoo

Diff of /sys-power/nut/nut-2.6.3.ebuild

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

Revision 1.3 Revision 1.8
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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-power/nut/Attic/nut-2.6.3.ebuild,v 1.3 2012/06/03 16:16:52 xmw Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/Attic/nut-2.6.3.ebuild,v 1.8 2012/12/03 02:05:51 ssuominen Exp $
4 4
5EAPI=2 5EAPI=2
6inherit autotools bash-completion eutils fixheadtails multilib user 6inherit autotools bash-completion eutils fixheadtails multilib user
7 7
8MY_P=${P/_/-} 8MY_P=${P/_/-}
13SRC_URI="http://random.networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz 13SRC_URI="http://random.networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz
14 http://www.networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz" 14 http://www.networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz"
15 15
16LICENSE="GPL-2" 16LICENSE="GPL-2"
17SLOT="0" 17SLOT="0"
18KEYWORDS="~alpha amd64 ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" 18KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd"
19IUSE="avahi cgi snmp usb ssl tcpd xml" 19IUSE="avahi cgi snmp usb ssl tcpd xml"
20 20
21RDEPEND="avahi? ( net-dns/avahi ) 21RDEPEND="avahi? ( net-dns/avahi )
22 cgi? ( >=media-libs/gd-2[png] ) 22 cgi? ( >=media-libs/gd-2[png] )
23 snmp? ( net-analyzer/net-snmp ) 23 snmp? ( net-analyzer/net-snmp )
24 usb? ( virtual/libusb:0 ) 24 usb? ( virtual/libusb:0 )
25 ssl? ( >=dev-libs/openssl-1 ) 25 ssl? ( >=dev-libs/openssl-1 )
26 tcpd? ( sys-apps/tcp-wrappers ) 26 tcpd? ( sys-apps/tcp-wrappers )
27 xml? ( >=net-libs/neon-0.25.0 ) 27 xml? ( >=net-libs/neon-0.25.0 )
28 >=sys-fs/udev-114" 28 virtual/udev"
29DEPEND="$RDEPEND 29DEPEND="$RDEPEND
30 >=sys-apps/sed-4 30 >=sys-apps/sed-4
31 virtual/pkgconfig" 31 virtual/pkgconfig"
32 32
33S=${WORKDIR}/${MY_P} 33S=${WORKDIR}/${MY_P}
160 eval fperms 0644 ${NUT_CGI_FILES} 160 eval fperms 0644 ${NUT_CGI_FILES}
161 eval fowners root:root ${NUT_CGI_FILES} 161 eval fowners root:root ${NUT_CGI_FILES}
162 fi 162 fi
163 163
164 # this is installed for 2.4 and fbsd guys 164 # this is installed for 2.4 and fbsd guys
165 if ! has_version sys-fs/udev; then 165 if ! has_version virtual/udev; then
166 einfo "Installing non-udev hotplug support" 166 einfo "Installing non-udev hotplug support"
167 insinto /etc/hotplug/usb 167 insinto /etc/hotplug/usb
168 insopts -m 755 168 insopts -m 755
169 doins scripts/hotplug/nut-usbups.hotplug 169 doins scripts/hotplug/nut-usbups.hotplug
170 fi 170 fi

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20