public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-embedded/scratchbox2: metadata.xml scratchbox2-2.0.ebuild ChangeLog
@ 2009-11-19 18:40 Dominik Kapusta (ayoy)
  0 siblings, 0 replies; only message in thread
From: Dominik Kapusta (ayoy) @ 2009-11-19 18:40 UTC (permalink / raw
  To: gentoo-commits

ayoy        09/11/19 18:40:57

  Added:                metadata.xml scratchbox2-2.0.ebuild ChangeLog
  Log:
  Initial commit for scratchbox2 - moved from dev-embedded/scratchbox
  (Portage version: 2.2_rc49/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-embedded/scratchbox2/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/scratchbox2/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/scratchbox2/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<herd>dev-embedded</herd>
	<maintainer>
		<email>ayoy@gentoo.org</email>
		<name>Dominik Kapusta</name>
	</maintainer>
	<longdescription lang="en">
	</longdescription>
</pkgmetadata>




1.1                  dev-embedded/scratchbox2/scratchbox2-2.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/scratchbox2/scratchbox2-2.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/scratchbox2/scratchbox2-2.0.ebuild?rev=1.1&content-type=text/plain

Index: scratchbox2-2.0.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox2/scratchbox2-2.0.ebuild,v 1.1 2009/11/19 18:40:56 ayoy Exp $

EAPI="2"

inherit autotools eutils multilib toolchain-funcs

MY_PN="${PN/cratch}"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
HOMEPAGE="http://www.freedesktop.org/wiki/Software/sbox2"
SRC_URI="http://cgit.freedesktop.org/${MY_PN}/snapshot/${MY_P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}"

src_prepare() {
	epatch "${FILESDIR}/${P}-glibc-2.10.patch"
	epatch "${FILESDIR}/${P}-gentoo.patch"

	sed -e "s/^\(CC = \).*/\1$(tc-getCC)/" \
		-e "s/^\(CXX = \).*/\1$(tc-getCXX)/" \
		-e "s/^\(LD = \).*/\1$(tc-getLD)/" \
		-i Makefile || die "sed Makefile failed"

	eautoreconf
}

src_compile() {
	emake prefix="${D}/usr" || die "emake failed"
}

src_install() {
	emake INSTALL_ROOT="${D}" install || die "emake install failed"

	# List all the multilib libdirs
	local libdirs=
	for libdir in $(get_all_libdirs); do
			libdirs="${libdirs}:/usr/${libdir}/libsb2"
	done

	cat <<-EOF > "${T}/55scratchbox2"
	LDPATH=${libdirs:1}
	EOF
	doenvd "${T}/55scratchbox2" || die "doenvd failed"

	dodoc AUTHORS README || die "dodoc failed"
}



1.1                  dev-embedded/scratchbox2/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/scratchbox2/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/scratchbox2/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-embedded/scratchbox2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox2/ChangeLog,v 1.1 2009/11/19 18:40:56 ayoy Exp $

*scratchbox2-2.0 (19 Nov 2009)

  19 Nov 2009; Dominik Kapusta <ayoy@gentoo.org> +scratchbox2-2.0.ebuild,
  +files/scratchbox2-2.0-gentoo.patch,
  +files/scratchbox2-2.0-glibc-2.10.patch, +metadata.xml:
  Initial commit for scratchbox2 - moved from dev-embedded/scratchbox







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-19 18:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-19 18:40 [gentoo-commits] gentoo-x86 commit in dev-embedded/scratchbox2: metadata.xml scratchbox2-2.0.ebuild ChangeLog Dominik Kapusta (ayoy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox