summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-10-29 18:29:29 +0000
committerThomas Sachau <tommy@gentoo.org>2009-10-29 18:29:29 +0000
commit5f56ec3feb42131cdb8f094df52fef4a2510af58 (patch)
treef0fb65effc34b81926c319453ac98a8a36c98631 /net-misc/axel
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-5f56ec3feb42131cdb8f094df52fef4a2510af58.tar.gz
gentoo-2-5f56ec3feb42131cdb8f094df52fef4a2510af58.tar.bz2
gentoo-2-5f56ec3feb42131cdb8f094df52fef4a2510af58.zip
Proxy commit for chiiph, add him and myself to metadata.xml
(Portage version: 2.2_rc46-r3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/axel')
-rw-r--r--net-misc/axel/axel-2.4.ebuild36
-rw-r--r--net-misc/axel/metadata.xml9
2 files changed, 24 insertions, 21 deletions
diff --git a/net-misc/axel/axel-2.4.ebuild b/net-misc/axel/axel-2.4.ebuild
index 46af45112623..b6d00aff27d8 100644
--- a/net-misc/axel/axel-2.4.ebuild
+++ b/net-misc/axel/axel-2.4.ebuild
@@ -1,48 +1,44 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/axel-2.4.ebuild,v 1.2 2009/10/28 09:25:12 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/axel-2.4.ebuild,v 1.3 2009/10/29 18:29:29 tommy Exp $
+
+EAPI="2"
inherit eutils toolchain-funcs
-DESCRIPTION="light Unix download accelerator"
+DESCRIPTION="Light Unix download accelerator"
HOMEPAGE="http://axel.alioth.debian.org/"
-SRC_URI="http://alioth.debian.org/frs/download.php/3015/${P}.tar.gz"
+SRC_URI="http://alioth.debian.org/frs/download.php/3016/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="debug nls"
+DEPEND="nls? ( sys-devel/gettext )"
RDEPEND="nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-RDEPEND="${RDEPEND}"
-
-#S="${WORKDIR}/${PN}-1.1"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # Set LDFLAGS and fix expr
- sed -i -e 's/expr/& --/' -e "s/^LFLAGS=$/&${LDFLAGS}/" configure
+src_prepare() {
+ sed -i -e "s/^LFLAGS=$/&${LDFLAGS}/" configure || die "sed failed"
}
-src_compile() {
- local myconf
+src_configure() {
+ local myconf=""
- use debug && myconf="${myconf} --debug=1"
- use nls && myconf="${myconf} --i18n=1"
+ use debug && myconf+=" --debug=1"
+ use nls && myconf+=" --i18n=$(use nls && echo 1 || echo 0)"
econf \
--strip=0 \
- --etcdir=/etc \
${myconf}
+}
+src_compile() {
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
- dodoc API CHANGES CREDITS README axelrc.example
+ dodoc API CHANGES CREDITS README axelrc.example || die "dodoc failed"
}
pkg_postinst() {
diff --git a/net-misc/axel/metadata.xml b/net-misc/axel/metadata.xml
index 73420b6cf0f0..4da18d1c3094 100644
--- a/net-misc/axel/metadata.xml
+++ b/net-misc/axel/metadata.xml
@@ -3,6 +3,13 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>chiiph@gmail.com</email>
+ <name>Tomas Touceda</name>
+ <description>Maintainer of ebuilds, assign bugs</description>
+</maintainer>
+<maintainer>
+ <email>tommy@gentoo.org</email>
+ <name>Thomas Sachau</name>
+ <description>Proxy committer, CC bugs</description>
</maintainer>
</pkgmetadata>