initial add of suacomp, required for x86-interix prefix.
authorMarkus Duft <mduft@gentoo.org>
Tue, 13 Jul 2010 08:33:06 +0000 (08:33 +0000)
committerMarkus Duft <mduft@gentoo.org>
Tue, 13 Jul 2010 08:33:06 +0000 (08:33 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux i686

sys-libs/suacomp/ChangeLog [new file with mode: 0644]
sys-libs/suacomp/Manifest [new file with mode: 0644]
sys-libs/suacomp/metadata.xml [new file with mode: 0644]
sys-libs/suacomp/suacomp-0.4.ebuild [new file with mode: 0644]

diff --git a/sys-libs/suacomp/ChangeLog b/sys-libs/suacomp/ChangeLog
new file mode 100644 (file)
index 0000000..05fe018
--- /dev/null
@@ -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 <mduft@gentoo.org> +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 (file)
index 0000000..2a78e82
--- /dev/null
@@ -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 (file)
index 0000000..ecc8498
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd></herd>
+<maintainer>
+<email>mduft@gentoo.org</email>
+<name>Markus Duft</name>
+</maintainer>
+<longdescription lang="en">
+       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.
+</longdescription>
+</pkgmetadata>
+
diff --git a/sys-libs/suacomp/suacomp-0.4.ebuild b/sys-libs/suacomp/suacomp-0.4.ebuild
new file mode 100644 (file)
index 0000000..d29fbd0
--- /dev/null
@@ -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}"
+}
+