diff options
author | 2000-08-03 16:22:36 +0000 | |
---|---|---|
committer | 2000-08-03 16:22:36 +0000 | |
commit | 8f12015c2b377b31ac9aa589b63ddc566ed05f7c (patch) | |
tree | 5e04ebef4351146e7c3caf70ef50f4c12e8c255c /sys-libs/slang | |
parent | *** empty log message *** (diff) | |
download | historical-8f12015c2b377b31ac9aa589b63ddc566ed05f7c.tar.gz historical-8f12015c2b377b31ac9aa589b63ddc566ed05f7c.tar.bz2 historical-8f12015c2b377b31ac9aa589b63ddc566ed05f7c.zip |
*** empty log message ***
Diffstat (limited to 'sys-libs/slang')
-rw-r--r-- | sys-libs/slang/slang-1.4.1-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-libs/slang/slang-1.4.1-r1.ebuild b/sys-libs/slang/slang-1.4.1-r1.ebuild new file mode 100644 index 000000000000..bca7cdd9155f --- /dev/null +++ b/sys-libs/slang/slang-1.4.1-r1.ebuild @@ -0,0 +1,42 @@ +# 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.1-r1.ebuild,v 1.1 2000/08/03 16:22:36 achim Exp $ + +P=slang-1.4.1 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Console display library used by most text viewer" +CATEGORY="sys-libs" +SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${A}" + +src_compile() { + ./configure --host=${CHOST} --prefix=/usr + make elf +} + +src_unpack() { + unpack ${A} + cd ${S} + cp configure configure.orig + sed -e "s/ELF_CFLAGS=\"-O2/ELF_CFLAGS=\"${CFLAGS}/" configure.orig > configure +} + +src_install() { + into /usr + libopts -m0755 + dolib src/elfobjs/libslang.so.1.4.1 + dosym libslang.so.1.4.1 /usr/lib/libslang.so.1 + dosym libslang.so.1 /usr/lib/libslang.so + dodoc COPYING* NEWS README *.txt + dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt + docinto html + dodoc doc/*.html + dodir /usr/include + insinto /usr/include + cd ${S}/src + doins slang.h slcurses.h +} + + + |