summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libcpml/Manifest3
-rw-r--r--dev-libs/libcpml/libcpml-5.2.01.ebuild55
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/libcpml/Manifest b/dev-libs/libcpml/Manifest
new file mode 100644
index 0000000..b698fe3
--- /dev/null
+++ b/dev-libs/libcpml/Manifest
@@ -0,0 +1,3 @@
+DIST cpml_ev5-5.2.0-1.alpha.rpm 323919 RMD160 b4b12e85313519da586efc34a641fce0fa15c136 SHA1 149f6bd927c433eda02d5df67606d390cbd68e4f SHA256 969029723bfe7ebf3092086f24fadca6dc34d54b8f2805c081a9854a70115d1e
+DIST cpml_ev6-5.2.0-1.alpha.rpm 311950 RMD160 477f700db6fa7832a803c1cfc0ac7dccab5f6513 SHA1 616431db54a0acead332af61d8e3600a3ac610d4 SHA256 46eb527079b2b76f6da3aa081342e53db3e8ec8db8a4d3f29499cb7e4b7037f8
+EBUILD libcpml-5.2.01.ebuild 1548 RMD160 17fae2424e8f9432e1e6f6c06c79fa939825e628 SHA1 aa518cd243b0c925b24024dd795d8a712eb083c5 SHA256 9d6dc864889436bf61fcfffafa2cae86fb722a5916dce6be1360868dc3a4c642
diff --git a/dev-libs/libcpml/libcpml-5.2.01.ebuild b/dev-libs/libcpml/libcpml-5.2.01.ebuild
new file mode 100644
index 0000000..c507d51
--- /dev/null
+++ b/dev-libs/libcpml/libcpml-5.2.01.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcpml/libcpml-5.2.01-r3.ebuild,v 1.5 2004/07/02 04:44:16 eradicator Exp $
+
+inherit eutils rpm
+
+HOMEPAGE="ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/downloads.html"
+DESCRIPTION="Compaq Linux optimized math library for Alpha/Linux/GNU"
+SRC_URI="ev6? ( ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/cpml_ev6-5.2.0-1.alpha.rpm )
+ !ev6? ( ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/cpml_ev5-5.2.0-1.alpha.rpm )"
+
+LICENSE="compaq-sdla"
+SLOT="5.2.01"
+KEYWORDS="-* ~alpha"
+IUSE="ev6"
+RESTRICT="fetch nostrip nomirror"
+
+DEPEND="virtual/libc
+ sys-devel/binutils
+ dev-libs/libots
+ sys-apps/findutils"
+RDEPEND="virtual/libc
+ dev-libs/libots"
+
+S=${WORKDIR}/usr
+
+src_unpack() {
+ rpm_src_unpack
+ find ${S} -type d -exec chmod a+rx {} \;
+}
+
+src_compile () {
+ local EV; use ev6 && EV=ev6 || EV=ev5
+ cd ${S}/lib/compaq/cpml-5.2.0
+ ld ${LDFLAGS} -shared -o libcpml_${EV}.so -soname libcpml.so \
+ -whole-archive libcpml_${EV}.a -no-whole-archive -lots
+}
+
+src_install() {
+ local EV; use ev6 && EV=ev6 || EV=ev5
+
+ mv ${WORKDIR}/usr ${D}
+
+ dodir /usr/lib/
+ dosym ./compaq/cpml-5.2.0/libcpml_${EV}.so /usr/lib/libcpml_${EV}.so
+ dosym ./compaq/cpml-5.2.0/libcpml_${EV}.a /usr/lib/libcpml_${EV}.a
+
+ dodir /usr/share
+ mv ${D}/usr/doc ${D}/usr/share
+
+ dosym ./compaq/cpml-5.2.0/libcpml_${EV}.so /usr/lib/libcpml.so
+ dosym ./compaq/cpml-5.2.0/libcpml_${EV}.a /usr/lib/libcpml.a
+
+ prepall
+}