summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-03-09 10:26:59 +0000
committerAchim Gottinger <achim@gentoo.org>2001-03-09 10:26:59 +0000
commit92aa49df5fbb94f611714048bc4f5764eb790368 (patch)
tree8733810875a5a5e23fac4fb5667964a5ef22d824 /sys-libs/slang
parent*** empty log message *** (diff)
downloadgentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.tar.gz
gentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.tar.bz2
gentoo-2-92aa49df5fbb94f611714048bc4f5764eb790368.zip
*** empty log message ***
Diffstat (limited to 'sys-libs/slang')
-rw-r--r--sys-libs/slang/slang-1.4.4.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-libs/slang/slang-1.4.4.ebuild b/sys-libs/slang/slang-1.4.4.ebuild
new file mode 100644
index 000000000000..d46be12731ce
--- /dev/null
+++ b/sys-libs/slang/slang-1.4.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.4.ebuild,v 1.1 2001/03/09 10:26:59 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Console display library used by most text viewer"
+SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${A}"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp configure configure.orig
+ sed -e "s/ELF_CFLAGS=\"-O2/ELF_CFLAGS=\"${CFLAGS}/" configure.orig > configure
+}
+
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ try make ${MAKEOPTS} prefix=${D}/usr all elf
+ #cp src/objs/libslang.a .
+ #try make ${MAKEOPTS} prefix=${D}/usr clean elf
+}
+
+src_install() {
+
+ dolib.a src/objs/libslang.a
+ dolib.so src/elfobjs/libslang.so.${PV}
+ dosym linslang.so.${PV} /usr/lib/libslang.so
+
+ insinto /usr/include
+ doins src/{slang.h,slcurses.h}
+ dodoc COPYING* NEWS README *.txt
+ dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
+ docinto html
+ dodoc doc/*.html
+}
+
+
+