summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Duft <mduft@gentoo.org>2011-05-09 08:30:52 +0000
committerMarkus Duft <mduft@gentoo.org>2011-05-09 08:30:52 +0000
commit44e6ab38dc6a6c84763acceb31384c0721649bce (patch)
tree62d04336ca021b2abef634ea205ed61c0fba54fb /sys-libs
parentx86 stable per bug 354033 (diff)
downloadhistorical-44e6ab38dc6a6c84763acceb31384c0721649bce.tar.gz
historical-44e6ab38dc6a6c84763acceb31384c0721649bce.tar.bz2
historical-44e6ab38dc6a6c84763acceb31384c0721649bce.zip
new suacomp 0.6.7
Package-Manager: portage-2.2.00.15754-prefix/cvs/Interix x86
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/suacomp/Manifest2
-rw-r--r--sys-libs/suacomp/suacomp-0.6.7.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-libs/suacomp/Manifest b/sys-libs/suacomp/Manifest
index 2edcd2e09b44..0b03a48cd108 100644
--- a/sys-libs/suacomp/Manifest
+++ b/sys-libs/suacomp/Manifest
@@ -1,6 +1,8 @@
DIST suacomp-0.6.5.tar.gz 23154 RMD160 ab62935417217400c9733b9807c3875eff2f2695 SHA1 9e88a5191b30b611376e2fa23cd751d803bfc15a SHA256 3af28b25efbd1575cadd1497226950b3cd174c0d9eedbc6f76e80874b48e981f
DIST suacomp-0.6.6.tar.gz 26248 RMD160 d25f6bbf66b23c9e243caa9b6b5f30fc0fe834ae SHA1 27c394fd24aafeafa0d325a1aae02f93fdcb48a2 SHA256 fb82c3b9c392800e2cc303362218315b0b3b2a0855517602bf75d6b890503724
+DIST suacomp-0.6.7.tar.gz 27584 RMD160 85db385f63f17d00cb7a5ac23b9c8790ad5180c4 SHA1 b45b606b4da9d49934a5b7e269d1050019941e76 SHA256 53cc4cb2d1a31935c95323c9d756e628ee4bfd2ae5f92646a1eb8ac3bb982f0e
EBUILD suacomp-0.6.5.ebuild 1129 RMD160 bf5537f3f499615e66ebbaaa6aa29dabe97b1acd SHA1 d54ffbe5fd702d0700c907ff83e2601a7fa7f5b2 SHA256 2cd83456fef6f0efd8f1f42b3fce7fc434983afdbaadfb24fd87921f5e3feb54
EBUILD suacomp-0.6.6.ebuild 1215 RMD160 8cefcde1f42d9826469c52ec615c3a35d15e7669 SHA1 083b54b00f2f7bcbd59f37fff94791e764fb6f91 SHA256 80ec31c7661fe712e7d7a4b4b8624921a07e37ee22005e25ba5595e53595a5da
+EBUILD suacomp-0.6.7.ebuild 1215 RMD160 0fd9a476ef9a1bde566f1ecb36a21c602e93fc70 SHA1 4303ec28501756e37a8eb22e64969927857cdc62 SHA256 0ff312635f374e2b1782525b71955f0260ac6b16e7baffd6fae1b7f3efe00eb6
MISC ChangeLog 795 RMD160 76fc8ee9d9510fa729f37d80a8adbfad5187ab5d SHA1 233b5293cebc69387ffd772ad8b04e2608102313 SHA256 ad671463cde2fe8e1cef7c686a43eca78f7976f166657992ee10fab6851ebd56
MISC metadata.xml 463 RMD160 8d5a39c8c367b923a1ffa3d54cb7573a0dff3d61 SHA1 035dd048b0f1bbe16174cfdd92949914a451e709 SHA256 48ff68dfa4b39d46068d853d57bdb4a35ef6304368397fcb45105f3a4798e2ca
diff --git a/sys-libs/suacomp/suacomp-0.6.7.ebuild b/sys-libs/suacomp/suacomp-0.6.7.ebuild
new file mode 100644
index 000000000000..655d9c997417
--- /dev/null
+++ b/sys-libs/suacomp/suacomp-0.6.7.ebuild
@@ -0,0 +1,51 @@
+# 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.6.7.ebuild,v 1.1 2011/05/09 08:30:52 mduft Exp $
+
+EAPI=3
+
+inherit toolchain-funcs
+
+DESCRIPTION="library wrapping the interix lib-c to make it less buggy."
+HOMEPAGE="http://suacomp.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BEER-WARE"
+SLOT="0"
+KEYWORDS="-* ~x86-interix"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+get_opts() {
+ local shlibc=
+ local stlibc=
+
+ for dir in /usr/lib /usr/lib/x86; do
+ [[ -f ${dir}/libc.a ]] && stlibc=${dir}/libc.a
+
+ for name in libc.so.5.2 libc.so.3.5; do
+ [[ -f ${dir}/${name} ]] && { shlibc=${dir}/${name}; break; }
+ done
+
+ [[ -f ${shlibc} && -f ${stlibc} ]] && break
+ done
+
+ echo "SHARED_LIBC=${shlibc} STATIC_LIBC=${stlibc}"
+}
+
+src_compile() {
+ local mycflags=
+ [[ ${CHOST} == *-interix3* ]] && mycflags="-DINTERIX3"
+
+ emake all CC=$(tc-getCC) CFLAGS="${CFLAGS} ${mycflags}" $(get_opts) || die "emake failed"
+}
+
+src_install() {
+ emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" $(get_opts) || die "emake install failed"
+}
+
+src_test() {
+ emake check $(get_opts) || die "emake check failed"
+}