summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamakura Makoto <yakina@gentoo.org>2003-06-10 15:13:38 +0000
committerYamakura Makoto <yakina@gentoo.org>2003-06-10 15:13:38 +0000
commit82b014e84e5c0f6d29a64b0267dc918ee2118fa1 (patch)
tree72d2630fa8d29325d35b44a70e82fa9ce2b7b9d4
parentNew version 1.4.9. Added cjk USE flag to 1.4.9 and 1.4.5-r3. (diff)
downloadgentoo-2-82b014e84e5c0f6d29a64b0267dc918ee2118fa1.tar.gz
gentoo-2-82b014e84e5c0f6d29a64b0267dc918ee2118fa1.tar.bz2
gentoo-2-82b014e84e5c0f6d29a64b0267dc918ee2118fa1.zip
New version 1.4.9. Added cjk USE flag to 1.4.9 and 1.4.5-r3.
-rw-r--r--sys-libs/slang/ChangeLog8
-rw-r--r--sys-libs/slang/Manifest6
-rw-r--r--sys-libs/slang/files/digest-slang-1.4.5-r31
-rw-r--r--sys-libs/slang/files/digest-slang-1.4.91
-rw-r--r--sys-libs/slang/slang-1.4.5-r3.ebuild44
-rw-r--r--sys-libs/slang/slang-1.4.9.ebuild49
6 files changed, 105 insertions, 4 deletions
diff --git a/sys-libs/slang/ChangeLog b/sys-libs/slang/ChangeLog
index 7a050027a6db..657cf1a6de7b 100644
--- a/sys-libs/slang/ChangeLog
+++ b/sys-libs/slang/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/slang
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.14 2003/05/19 00:43:19 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.15 2003/06/10 15:13:30 yakina Exp $
+
+*slang-1.4.9 (10 Jun 2003)
+
+ 10 Jun 2003; YAMAKURA Makot <yakina@gentoo.org> slang-1.4.5-r3.ebuild,
+ slang-1.4.9.ebuild, files/digest-slang-1.4.5-r3, files/digest-slang-1.4.9 :
+ New version 1.4.9. Added cjk USE flag to 1.4.9 and 1.4.5-r3.
18 May 2003; Tavis Ormandy <taviso@gentoo.org> slang-1.4.5-r2.ebuild:
removing hardcoded compiler.
diff --git a/sys-libs/slang/Manifest b/sys-libs/slang/Manifest
index 9b8feaf54054..3abbe86bed11 100644
--- a/sys-libs/slang/Manifest
+++ b/sys-libs/slang/Manifest
@@ -1,9 +1,9 @@
MD5 81affe642669ac1cbdbb23814b104510 slang-1.4.5-r1.ebuild 1050
-MD5 b96606eed4d05895824894c8b7f49e0b slang-1.4.5-r3.ebuild 1378
+MD5 6298c18a9c906cd927e038a9dd6ed1b1 slang-1.4.5-r3.ebuild 1377
MD5 3d0e7fc42324234d31579ae71184e197 slang-1.4.8.ebuild 1309
MD5 1da663cd3fc1fb0b569967771d421fba slang-1.4.5-r2.ebuild 1185
-MD5 21624444db1316607822ff5d70228b0c slang-1.4.9.ebuild 1494
-MD5 25cca985f1be0b711f63d99f7e699dee ChangeLog 2416
+MD5 9bfb3b5bb6287f0ceb220304d6020570 slang-1.4.9.ebuild 1493
+MD5 5b72e054662bab7add29f60544bcea89 ChangeLog 2416
MD5 b33b25719286e6314758026cdaf75fb2 files/digest-slang-1.4.5-r1 63
MD5 b33b25719286e6314758026cdaf75fb2 files/digest-slang-1.4.5-r2 63
MD5 b33b25719286e6314758026cdaf75fb2 files/digest-slang-1.4.5-r3 63
diff --git a/sys-libs/slang/files/digest-slang-1.4.5-r3 b/sys-libs/slang/files/digest-slang-1.4.5-r3
new file mode 100644
index 000000000000..1d09a4387cf2
--- /dev/null
+++ b/sys-libs/slang/files/digest-slang-1.4.5-r3
@@ -0,0 +1 @@
+MD5 9e597a0d3d07465e1014d5e020087e44 slang-1.4.5.tar.gz 757822
diff --git a/sys-libs/slang/files/digest-slang-1.4.9 b/sys-libs/slang/files/digest-slang-1.4.9
new file mode 100644
index 000000000000..7e9a9175d8b3
--- /dev/null
+++ b/sys-libs/slang/files/digest-slang-1.4.9
@@ -0,0 +1 @@
+MD5 4fbb1a7f1257e065ca830deefe13d350 slang-1.4.9.tar.bz2 631079
diff --git a/sys-libs/slang/slang-1.4.5-r3.ebuild b/sys-libs/slang/slang-1.4.5-r3.ebuild
new file mode 100644
index 000000000000..38acce444c23
--- /dev/null
+++ b/sys-libs/slang/slang-1.4.5-r3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.5-r3.ebuild,v 1.1 2003/06/10 15:13:30 yakina Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Console display library used by most text viewer"
+SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${P}.tar.gz"
+LICENSE="GPL-2 | Artistic"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
+SLOT="0"
+HOMEPAGE="http://space.mit.edu/~davis/slang/"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+IUSE="cjk"
+
+src_compile() {
+ if [ -n "`use cjk`" ]
+ then
+ # enable Kanji Support
+ cp src/sl-feat.h src/sl-feat.h.bak
+ sed "/SLANG_HAS_KANJI_SUPPORT/s/0/1/" \
+ src/sl-feat.h.bak > src/sl-feat.h
+ fi
+
+ # remove hardcoded compilers
+ cp configure configure.orig
+ sed -e "s:=\"gcc:=\"${CC:-gcc}:" \
+ configure.orig > configure
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr || die "./configure failed"
+ # emake doesn't work well with slang, so just use normal make.
+ make all elf || die "make failed"
+}
+
+src_install() {
+ make install install-elf DESTDIR=${D} || die "make install failed"
+ ( cd ${D}/usr/lib ; chmod 755 libslang.so.* )
+ # remove the documentation... we want to install it ourselves
+ rm -rf ${D}/usr/doc
+ dodoc COPYING* NEWS README *.txt
+ dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
+ dohtml doc/*.html
+}
diff --git a/sys-libs/slang/slang-1.4.9.ebuild b/sys-libs/slang/slang-1.4.9.ebuild
new file mode 100644
index 000000000000..35ec9321c722
--- /dev/null
+++ b/sys-libs/slang/slang-1.4.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.9.ebuild,v 1.1 2003/06/10 15:13:30 yakina Exp $
+
+inherit gcc
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Console display library used by most text viewer"
+SRC_URI="ftp://ftp.jedsoft.org/pub/davis/slang/v1.4/${P}.tar.bz2"
+LICENSE="GPL-2 | Artistic"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
+SLOT="0"
+HOMEPAGE="http://space.mit.edu/~davis/slang/"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+IUSE="cjk"
+
+src_compile() {
+ if [ -n "`use cjk`" ]
+ then
+ # enable Kanji Support
+ cp src/sl-feat.h src/sl-feat.h.bak
+ sed "/SLANG_HAS_KANJI_SUPPORT/s/0/1/" \
+ src/sl-feat.h.bak > src/sl-feat.h
+ fi
+ econf || die "econf failed"
+ # emake doesn't work well with slang, so just use normal make.
+ make all elf || die "make failed"
+}
+
+src_install() {
+ make install install-elf DESTDIR=${D} || die "make install failed"
+ ( cd ${D}/usr/lib ; chmod 755 libslang.so.* )
+ # remove the documentation... we want to install it ourselves
+ rm -rf ${D}/usr/doc
+ dodoc COPYING* NEWS README *.txt
+ dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
+ dohtml doc/*.html
+}
+
+pkg_postinst() {
+ # ensure gcc uses the most recent slang.h (#16678)
+ if [ "`gcc-major-version`" = "3" ]; then
+ if [ -f "`gcc-libpath`/include/slang.h" ]; then
+ einfo "Removing gcc buffered slang.h to avoid conflicts"
+ rm -f `gcc-libpath`/include/slang.h
+ fi
+ fi
+}