+++ /dev/null
-MD5 9e597a0d3d07465e1014d5e020087e44 slang-1.4.5.tar.gz 757822
+++ /dev/null
-MD5 9e597a0d3d07465e1014d5e020087e44 slang-1.4.5.tar.gz 757822
+++ /dev/null
-MD5 4fbb1a7f1257e065ca830deefe13d350 slang-1.4.9.tar.bz2 631079
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.5-r1.ebuild,v 1.16 2004/06/24 23:09:42 agriffis 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 "
-SLOT="0"
-HOMEPAGE="http://space.mit.edu/~davis/slang/"
-
-DEPEND=">=sys-libs/ncurses-5.2-r2"
-
-src_compile() {
- ./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
- docinto html
- dodoc doc/*.html
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.5-r2.ebuild,v 1.25 2004/06/24 23:09:42 agriffis 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 amd64"
-SLOT="0"
-HOMEPAGE="http://space.mit.edu/~davis/slang/"
-
-DEPEND=">=sys-libs/ncurses-5.2-r2"
-
-src_compile() {
- # 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 install-links 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
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.24 2004/10/23 05:42:08 mr_bones_ Exp $
-
-DESCRIPTION="Console display library used by most text viewer"
-HOMEPAGE="http://space.mit.edu/~davis/slang/"
-SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${P}.tar.bz2"
-
-LICENSE="GPL-2 | Artistic"
-SLOT="0"
-KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64 s390 ppc-macos"
-IUSE="cjk"
-
-DEPEND=">=sys-libs/ncurses-5.2-r2"
-
-src_compile() {
- if 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/$(get_libdir) ; chmod 755 libslang.so.* )
- # remove the documentation... we want to install it ourselves
- rm -rf ${D}/usr/doc
- dodoc NEWS README *.txt
- dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
- dohtml doc/*.html
-}