blob: 68d3427cd51b532820d10803f2a8131a7c8312a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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.5-r1.ebuild,v 1.2 2002/07/07 13:00:36 aliz 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 or Artistic"
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
}
|