diff options
author | 2009-03-08 14:46:20 +0000 | |
---|---|---|
committer | 2009-03-08 14:46:20 +0000 | |
commit | b6b3df5ba7632b74f71290c1b35def396b8b44a2 (patch) | |
tree | 67011967d121b86da590f231ae5443ffe02661f9 | |
parent | Remove old version. (diff) | |
download | gentoo-2-b6b3df5ba7632b74f71290c1b35def396b8b44a2.tar.gz gentoo-2-b6b3df5ba7632b74f71290c1b35def396b8b44a2.tar.bz2 gentoo-2-b6b3df5ba7632b74f71290c1b35def396b8b44a2.zip |
Migrate to EAPI 2.
(Portage version: 2.2_rc20/cvs/Linux 2.6.29-rc6 i686)
-rw-r--r-- | sys-fs/owfs/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/owfs/owfs-2.7_p4.ebuild | 17 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sys-fs/owfs/ChangeLog b/sys-fs/owfs/ChangeLog index bad0db400575..504c4554d8f8 100644 --- a/sys-fs/owfs/ChangeLog +++ b/sys-fs/owfs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/owfs -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/ChangeLog,v 1.10 2008/08/22 22:05:23 cardoe Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/ChangeLog,v 1.11 2009/03/08 14:46:20 betelgeuse Exp $ + + 08 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> owfs-2.7_p4.ebuild: + Migrate to EAPI 2. 22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/sys-fs/owfs/owfs-2.7_p4.ebuild b/sys-fs/owfs/owfs-2.7_p4.ebuild index a6e30cfb1274..d607f5f9845a 100644 --- a/sys-fs/owfs/owfs-2.7_p4.ebuild +++ b/sys-fs/owfs/owfs-2.7_p4.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/owfs-2.7_p4.ebuild,v 1.2 2008/05/30 20:07:55 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/owfs-2.7_p4.ebuild,v 1.3 2009/03/08 14:46:20 betelgeuse Exp $ + +EAPI="2" inherit eutils depend.php @@ -16,7 +18,7 @@ RDEPEND="fuse? ( sys-fs/fuse ) python? ( dev-lang/python ) tcl? ( dev-lang/tcl ) usb? ( dev-libs/libusb ) - zeroconf? ( || ( net-dns/avahi net-misc/mDNSResponder ) )" + zeroconf? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) )" DEPEND="${RDEPEND} perl? ( dev-lang/swig ) php? ( dev-lang/swig ) @@ -34,15 +36,11 @@ pkg_setup() { if use php; then require_php_cli fi - if use zeroconf && has_version net-dns/avahi && ! built_with_use net-dns/avahi mdnsresponder-compat; then - eerror "You need to recompile net-dns/avahi with mdnsresponder-compat USE flag" - die "net-dns/avahi is missing required mdnsresponder-compat support for USE=zeroconf" - fi enewgroup ${OWGID} 150 enewuser ${OWUID} 150 -1 -1 ${OWGID} } -src_compile() { +src_configure() { econf \ $(use_enable debug) \ $(use_enable fuse owfs) \ @@ -57,12 +55,11 @@ src_compile() { $(use_enable zeroconf zero) \ $(use_enable usb) \ || die "econf failed" - emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" - dodoc README NEWS ChangeLog AUTHORS + dodoc README NEWS ChangeLog AUTHORS || die if use server || use httpd || use ftpd || use fuse; then diropts -m 0750 -o ${OWUID} -g ${OWGID} dodir /var/run/owfs |