summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Danya Dietrich <kito@gentoo.org>2004-11-07 19:02:03 +0000
committerKito Danya Dietrich <kito@gentoo.org>2004-11-07 19:02:03 +0000
commit515b76058aa27804540ca385d10e65ae62c3ab9c (patch)
treeb3e181efa8bddb5b91c131c452d9bc547b5bea36 /sys-libs/libstreams
parentCorrect plugindir output for beep-config, fix icon installation, marked stabl... (diff)
downloadgentoo-2-515b76058aa27804540ca385d10e65ae62c3ab9c.tar.gz
gentoo-2-515b76058aa27804540ca385d10e65ae62c3ab9c.tar.bz2
gentoo-2-515b76058aa27804540ca385d10e65ae62c3ab9c.zip
darwin libstreams initial commit. closes bug 58608
Diffstat (limited to 'sys-libs/libstreams')
-rw-r--r--sys-libs/libstreams/ChangeLog9
-rw-r--r--sys-libs/libstreams/Manifest4
-rw-r--r--sys-libs/libstreams/files/digest-libstreams-231
-rw-r--r--sys-libs/libstreams/libstreams-23.ebuild40
-rw-r--r--sys-libs/libstreams/metadata.xml8
5 files changed, 62 insertions, 0 deletions
diff --git a/sys-libs/libstreams/ChangeLog b/sys-libs/libstreams/ChangeLog
new file mode 100644
index 000000000000..f4e0a9b8b47d
--- /dev/null
+++ b/sys-libs/libstreams/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-libs/libstreams
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstreams/ChangeLog,v 1.1 2004/11/07 19:02:03 kito Exp $
+
+*libstreams-23 (07 Nov 2004)
+
+ 07 Nov 2004; Kito <kito@gentoo.org> +metadata.xml, +libstreams-23.ebuild:
+ libstreams intial commit
+
diff --git a/sys-libs/libstreams/Manifest b/sys-libs/libstreams/Manifest
new file mode 100644
index 000000000000..faf86b33e6c6
--- /dev/null
+++ b/sys-libs/libstreams/Manifest
@@ -0,0 +1,4 @@
+MD5 cc851927ebda1c1cdd199690b02f3f8b ChangeLog 254
+MD5 b309bd08fa9ca8b199287b04ec2b7b95 libstreams-23.ebuild 958
+MD5 65d0ad2167dd016e2981b7a3df82cc50 metadata.xml 212
+MD5 589cbe62f6794d45d8f383a80db2971d files/digest-libstreams-23 64
diff --git a/sys-libs/libstreams/files/digest-libstreams-23 b/sys-libs/libstreams/files/digest-libstreams-23
new file mode 100644
index 000000000000..26c942bc38c7
--- /dev/null
+++ b/sys-libs/libstreams/files/digest-libstreams-23
@@ -0,0 +1 @@
+MD5 870f77a1c2998696db884dc01a672511 Libstreams-23.tar.gz 26562
diff --git a/sys-libs/libstreams/libstreams-23.ebuild b/sys-libs/libstreams/libstreams-23.ebuild
new file mode 100644
index 000000000000..65cd7be549e7
--- /dev/null
+++ b/sys-libs/libstreams/libstreams-23.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstreams/libstreams-23.ebuild,v 1.1 2004/11/07 19:02:03 kito Exp $
+
+DESCRIPTION="NeXT/Darwin Streams routines."
+HOMEPAGE="http://darwinsource.opendarwin.org/10.3.6/"
+SRC_URI="http://darwinsource.opendarwin.org/tarballs/apsl/Libstreams-${PV}.tar.gz"
+
+LICENSE="APSL-2"
+
+SLOT="0"
+KEYWORDS="~ppc-macos"
+IUSE="debug"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/Libstreams-${PV}
+ sed -i -e 's:^NEXTSTEP_INSTALL_DIR = .*:NEXTSTEP_INSTALL_DIR = ${D}/usr/lib/system:' Makefile\
+ || die "sed failed"
+ sed -i -e 's:^PRIVATE_HDR_INSTALLDIR = .*:PRIVATE_HDR_INSTALLDIR = ${D}/usr/include:' Makefile.preamble\
+ || die "sed failed"
+}
+
+src_compile() {
+ emake RC_OS=macos || die "make failed"
+ emake profile || die "make profile failed"
+ if use debug; then
+ emake debug || die "make debug failed"
+ fi
+}
+
+src_install() {
+ into /usr/lib/system
+ dolib.a *.a
+
+ insinto /usr/include/streams
+ doins *.h
+} \ No newline at end of file
diff --git a/sys-libs/libstreams/metadata.xml b/sys-libs/libstreams/metadata.xml
new file mode 100644
index 000000000000..f3c4173ce6dc
--- /dev/null
+++ b/sys-libs/libstreams/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd></herd>
+<maintainer>
+ <email>kito@gentoo.org</email>
+</maintainer>
+</pkgmetadata> \ No newline at end of file