diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-08-25 15:10:26 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-08-25 15:10:26 +0000 |
commit | 3b400917584ce927f27df4cf507cc5630759f143 (patch) | |
tree | c5148d0abb45f9c45a2fd8ad233dcda899e8da92 /sys-libs/slang | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-3b400917584ce927f27df4cf507cc5630759f143.tar.gz gentoo-2-3b400917584ce927f27df4cf507cc5630759f143.tar.bz2 gentoo-2-3b400917584ce927f27df4cf507cc5630759f143.zip |
*** empty log message ***
Diffstat (limited to 'sys-libs/slang')
-rw-r--r-- | sys-libs/slang/files/digest-slang-1.4.2 | 1 | ||||
-rw-r--r-- | sys-libs/slang/slang-1.4.2.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-libs/slang/files/digest-slang-1.4.2 b/sys-libs/slang/files/digest-slang-1.4.2 new file mode 100644 index 000000000000..ea751ba53026 --- /dev/null +++ b/sys-libs/slang/files/digest-slang-1.4.2 @@ -0,0 +1 @@ +MD5 81f769cb2ff1fb3dbe28bd58866e07c4 slang-1.4.2.tar.gz diff --git a/sys-libs/slang/slang-1.4.2.ebuild b/sys-libs/slang/slang-1.4.2.ebuild new file mode 100644 index 000000000000..8eb8891a93f5 --- /dev/null +++ b/sys-libs/slang/slang-1.4.2.ebuild @@ -0,0 +1,41 @@ +# 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.2.ebuild,v 1.1 2000/08/25 15:10:26 achim Exp $ + +P=slang-1.4.2 +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}" + +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.2 + dosym libslang.so.1.4.2 /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 +} + + + |