* [gentoo-commits] proj/betagarden:master commit in: sys-apps/apt/
@ 2013-06-14 21:46 Sebastian Pipping
0 siblings, 0 replies; only message in thread
From: Sebastian Pipping @ 2013-06-14 21:46 UTC (permalink / raw
To: gentoo-commits
commit: c7baf3f20ce85c6b2f70b81dcb1b9b680f1b5d4f
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Fri Jun 14 21:28:14 2013 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 21:28:14 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=c7baf3f2
sys-apps/apt: 0.9.8.2
---
sys-apps/apt/apt-0.9.8.2.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/sys-apps/apt/apt-0.9.8.2.ebuild b/sys-apps/apt/apt-0.9.8.2.ebuild
new file mode 100644
index 0000000..68d390d
--- /dev/null
+++ b/sys-apps/apt/apt-0.9.8.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit multilib
+
+DESCRIPTION="Package manager known from the Debian Project"
+HOMEPAGE="http://packages.debian.org/sid/apt"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="" # ~amd64 ~x86
+IUSE=""
+
+DEPEND="sys-devel/libtool"
+RDEPEND="sys-apps/debian-archive-keyring"
+
+src_prepare() {
+ # Replace dead symlinks
+ for i in config.{guess,sub} ; do
+ rm buildlib/${i} || die
+ ln -s /usr/share/libtool/config/${i} buildlib/${i} || die
+ done
+
+ # Prevent any doc compliation (due to current errors) TODO!
+ echo -e '%:\n\ttouch $@' > doc/makefile
+}
+
+src_install() {
+ # Imitate Debian .dir file handling
+ for i in debian/*.dirs; do
+ sed "s|^|${D}/|" < "${i}" | xargs mkdir -p
+ done
+
+ # Imitate Debian .install file handling
+ for i in debian/*.install{,.in}; do
+ while read line ; do
+ if [[ "${line}" == *' '* ]]; then
+ line="$(sed "s|/lib/@DEB_HOST_MULTIARCH@/|/$(get_libdir)/|" <<<"${line}")"
+ mkdir -p "$(sed "s|^.* |${D}/|" <<<"${line}"))"
+ install -v -D $(sed "s| | ${D}/|" <<<"${line}")
+ else
+ mkdir -p $(dirname ${line}) # potentially several directories
+ cp --parents -v ${line} "${D}"/
+ fi
+ done < "${i}"
+ done
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-14 21:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-14 21:46 [gentoo-commits] proj/betagarden:master commit in: sys-apps/apt/ Sebastian Pipping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox