From: Markus Duft Date: Tue, 13 Jul 2010 08:33:06 +0000 (+0000) Subject: initial add of suacomp, required for x86-interix prefix. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=727afe396ac1ad35974f37d02d2d702f7eaf32a3;p=gentoo.git initial add of suacomp, required for x86-interix prefix. Package-Manager: portage-2.1.8.3/cvs/Linux i686 --- diff --git a/sys-libs/suacomp/ChangeLog b/sys-libs/suacomp/ChangeLog new file mode 100644 index 000000000000..05fe018ef24b --- /dev/null +++ b/sys-libs/suacomp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-libs/suacomp +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/suacomp/ChangeLog,v 1.1 2010/07/13 08:33:06 mduft Exp $ + +*suacomp-0.4 (13 Jul 2010) + + 13 Jul 2010; Markus Duft +suacomp-0.4.ebuild, + +metadata.xml: + initial add of suacomp to the tree. for interix-prefix only + diff --git a/sys-libs/suacomp/Manifest b/sys-libs/suacomp/Manifest new file mode 100644 index 000000000000..2a78e8279b8b --- /dev/null +++ b/sys-libs/suacomp/Manifest @@ -0,0 +1,4 @@ +DIST suacomp-0.4.tar.gz 6365 RMD160 e2922a396c8951d0ebd878a87d6352d8d50b71ac SHA1 e660bbcb1bc658d3703e19eeab261caf60902904 SHA256 928f8aa278e4372e8bf3ac477515c2b0645b70c128d2f86e1d064a10b34d7e6a +EBUILD suacomp-0.4.ebuild 904 RMD160 9ad77967e39dffbea2247232ea03ee11a5e5c295 SHA1 a8264d060b1cd00bbc09754b167e5538eefdef23 SHA256 8984e050b61e51b509c667e37ae3940b334ec27a7184a8b5a1045edad625d1bc +MISC ChangeLog 379 RMD160 c8f8fd77d9fcfd6490e58ab0a93ceb39800a294f SHA1 29c808a92ab91a5a1c870d959562c5604dac6ad5 SHA256 9aa5c0d091a3ea10d04900f595c91d6d0f4b35e50b353f24db802572dc8c531f +MISC metadata.xml 454 RMD160 1ceca0c8d6872ab448189c79ad1903065da1f5c7 SHA1 b76d876501e0878142b45023ceed99e17f7fe00a SHA256 6a1dc6df8e854942aa7d329460ca786bbccb72f06fe04f03c08eae6a1a53edee diff --git a/sys-libs/suacomp/metadata.xml b/sys-libs/suacomp/metadata.xml new file mode 100644 index 000000000000..ecc84987be00 --- /dev/null +++ b/sys-libs/suacomp/metadata.xml @@ -0,0 +1,15 @@ + + + + + +mduft@gentoo.org +Markus Duft + + + A small library, trying to overcome the problems occuring when building + (and using) gentoo-prefix on an interix based system. This has no use + on non-interix systems. + + + diff --git a/sys-libs/suacomp/suacomp-0.4.ebuild b/sys-libs/suacomp/suacomp-0.4.ebuild new file mode 100644 index 000000000000..d29fbd0b6659 --- /dev/null +++ b/sys-libs/suacomp/suacomp-0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/suacomp/suacomp-0.4.ebuild,v 1.1 2010/07/13 08:33:06 mduft Exp $ + +EAPI=2 + +inherit toolchain-funcs + +DESCRIPTION="library wrapping the interix lib-c to make it less buggy." +HOMEPAGE="http://dev.gentoo.org/~mduft/suacomp" +SRC_URI="${HOMEPAGE}/${P}.tar.gz" + +LICENSE="BEER-WARE" +SLOT="0" +KEYWORDS="-* ~x86-interix" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_compile() { + # no windows xp support for now (name of libc hardcoded!) + [[ ${CHOST} == *-interix3* ]] && return 0; + + emake all CC=$(tc-getCC) CFLAGS="${CFLAGS}" +} + +src_install() { + [[ ${CHOST} == *-interix3* ]] && return 0; + + # installing to EPREFIX (not EPREFIX/usr) intentionally, since this + # falls into the category "low-level-system-library" :) + emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" +} +