summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2006-07-01 16:06:06 +0000
committerSeemant Kulleen <seemant@gentoo.org>2006-07-01 16:06:06 +0000
commited36c1cc7e397d823917aeb7e3ec96bd9780277d (patch)
tree372731b1b2b6be52d53a6c530256878cee1da6a5 /app-arch/ipkg-utils/ipkg-utils-1.7.ebuild
parentBump for 2.14.2 (diff)
downloadgentoo-2-ed36c1cc7e397d823917aeb7e3ec96bd9780277d.tar.gz
gentoo-2-ed36c1cc7e397d823917aeb7e3ec96bd9780277d.tar.bz2
gentoo-2-ed36c1cc7e397d823917aeb7e3ec96bd9780277d.zip
Some cleanups from James
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'app-arch/ipkg-utils/ipkg-utils-1.7.ebuild')
-rw-r--r--app-arch/ipkg-utils/ipkg-utils-1.7.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/app-arch/ipkg-utils/ipkg-utils-1.7.ebuild b/app-arch/ipkg-utils/ipkg-utils-1.7.ebuild
index f2df06c13de2..a5cd0bad8183 100644
--- a/app-arch/ipkg-utils/ipkg-utils-1.7.ebuild
+++ b/app-arch/ipkg-utils/ipkg-utils-1.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/ipkg-utils/ipkg-utils-1.7.ebuild,v 1.5 2006/01/20 22:03:21 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/ipkg-utils/ipkg-utils-1.7.ebuild,v 1.6 2006/07/01 16:06:06 seemant Exp $
-inherit distutils
+inherit distutils eutils toolchain-funcs
DESCRIPTION="Tools for working with the ipkg binary package format"
HOMEPAGE="http://www.openembedded.org/"
@@ -14,13 +14,15 @@ KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~x86"
DEPEND="dev-lang/python"
+src_unpack() {
+ unpack ${A}; cd ${S}
+
+ epatch ${FILESDIR}/${P}-build_fixes.patch
+}
+
src_compile() {
- sed -i -e 's#^PREFIX=.*#PREFIX=/usr#' Makefile || die 'prefix fix failed'
- sed -i -e 's#$(PREFIX)#$(DESTDIR)$(PREFIX)#' Makefile || die 'destdir fix failed'
- sed -i -e '/^install:/s#^\(.*\)$#\1\n\tmkdir -p $(DESTDIR)$(PREFIX)/bin#' Makefile || die 'mkdir fix failed'
- sed -i -e '/python setup.py/d' Makefile || die 'sandbox fix failed'
distutils_src_compile
- emake || die "emake failed"
+ emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {