summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-28 19:22:44 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-28 19:22:44 +0000
commitdd22730a19e860b2f88bc3b534b5d89a7a1ac351 (patch)
tree739c5aeefe825661c653f03a3de2710e9d4d8da6 /app-arch
parentClean up patch and do not cd before patching as the path is already set in th... (diff)
downloadhistorical-dd22730a19e860b2f88bc3b534b5d89a7a1ac351.tar.gz
historical-dd22730a19e860b2f88bc3b534b5d89a7a1ac351.tar.bz2
historical-dd22730a19e860b2f88bc3b534b5d89a7a1ac351.zip
Respect LDFLAGS (bug #336962), CC, CFLAGS. Move dep to RDEPEND.
Package-Manager: portage-2.2_rc86/cvs/Linux i686
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/upm/ChangeLog9
-rw-r--r--app-arch/upm/Manifest3
-rw-r--r--app-arch/upm/upm-0.85-r1.ebuild40
3 files changed, 49 insertions, 3 deletions
diff --git a/app-arch/upm/ChangeLog b/app-arch/upm/ChangeLog
index a780f6358f2f..399e3df736d9 100644
--- a/app-arch/upm/ChangeLog
+++ b/app-arch/upm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/upm
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/upm/ChangeLog,v 1.11 2009/07/31 09:37:03 volkmar Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/upm/ChangeLog,v 1.12 2010/09/28 19:22:44 jer Exp $
+
+*upm-0.85-r1 (28 Sep 2010)
+
+ 28 Sep 2010; Jeroen Roovers <jer@gentoo.org> +upm-0.85-r1.ebuild:
+ Respect LDFLAGS (bug #336962), CC, CFLAGS. Move dep to RDEPEND.
31 Jul 2009; Mounir Lamouri <volkmar@gentoo.org>
+files/upm-0.85-static.patch, upm-0.85.ebuild:
diff --git a/app-arch/upm/Manifest b/app-arch/upm/Manifest
index a314dff4b71f..3a97f4889b01 100644
--- a/app-arch/upm/Manifest
+++ b/app-arch/upm/Manifest
@@ -1,6 +1,7 @@
AUX upm-0.85-gentoo.diff 979 RMD160 3c6877d0f012a6a3e6a222240a34cefc2dd58202 SHA1 855b5ba8e2d7f79cd93b6cd6231a829d5081e34b SHA256 ad1017d7f362f948da157aaa7dece57e9815694a721130e55a5f0a8ef473e126
AUX upm-0.85-static.patch 860 RMD160 c4b545a8c216093aad865095926df76af3f58469 SHA1 5a7fc80fd5dc53aad1597ad53c7968b4981ace78 SHA256 6e7687a73c0b9d2d5ad58d8805978531341f9461e26743496cc661310bca89b0
DIST upm-0.85.tar.gz 110946 RMD160 9c5f14700b8a06a083a043e9d7f32eba6108a16f SHA1 e5643ccc1e2934b21d958f3acfa0a75a0f0463d7 SHA256 09d6ab254c48eb10e879b6e048962e00bd896dace0d9bc1b2e4b1ff0c411560a
+EBUILD upm-0.85-r1.ebuild 951 RMD160 10790d1624cfcb00d64a561b769de779a80f71ee SHA1 799e92f1ee38ee046f49708089ee2f4c7d1dbea9 SHA256 f526c0be04ed11598f02208f50b44a7e0291005b4219d916285699b7339beb08
EBUILD upm-0.85.ebuild 833 RMD160 eb8d5291722839fe29f7899c531450a818cf37d9 SHA1 38a542e4627f0a34d3158e5756a28ab7861be953 SHA256 cdf4c1869518298b4f8e8c6f093edd9fa54eb3f8ec5cf490bd49e6bc970c6e74
-MISC ChangeLog 981 RMD160 d8ae86b6f5c2b47ebcbf99f3a01d632d962d7a95 SHA1 89b2b2f4c5ccaffe996ffd83632f973c0843d575 SHA256 f9dc6123f826468b87712fca461f5e8b84956d21f44eb93f20fb325852cb4359
+MISC ChangeLog 1140 RMD160 045a0178670618f52f007a34d83789c487b1b63a SHA1 e45be6c1c9cd7b552c04e4126f5fef4467cfb886 SHA256 da236fdd86030021482e530d8bab3955c8cb9e7ab188144a73afb872fabedc99
MISC metadata.xml 313 RMD160 1a5e62be2df6b8e9e76beb0a79480b96080909d8 SHA1 6d5b01ce6585be1357493f5efb59b115a8104f09 SHA256 33c06e5a4f07dc0e7bf98e9c06b16710488444cd087b13c20ef165960d078c3a
diff --git a/app-arch/upm/upm-0.85-r1.ebuild b/app-arch/upm/upm-0.85-r1.ebuild
new file mode 100644
index 000000000000..7f354a6e73d8
--- /dev/null
+++ b/app-arch/upm/upm-0.85-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/upm/upm-0.85-r1.ebuild,v 1.1 2010/09/28 19:22:44 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="The micro Package Manager"
+HOMEPAGE="http://u-os.org/upm.html"
+SRC_URI="http://www.ibiblio.org/pub/linux/distributions/uos/sputnik/sources/${P}.tar.gz"
+
+LICENSE="4F"
+SLOT="0"
+KEYWORDS="~alpha ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="sys-apps/fakeroot"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.diff
+ epatch "${FILESDIR}"/${P}-static.patch # bug 264067
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile failed"
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dodir /bin
+ make DESTDIR="${D}" install || die "make install failed"
+ dodir /usr/upm/installed
+ dodir /var/upm/{binary,cache}
+}