/[gentoo-x86]/sys-libs/slang/slang-1.4.5-r1.ebuild
Gentoo

Contents of /sys-libs/slang/slang-1.4.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Fri Nov 5 01:41:50 2004 UTC (15 years, 2 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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 $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="Console display library used by most text viewer"
7 SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${P}.tar.gz"
8 LICENSE="GPL-2 | Artistic"
9 KEYWORDS="x86 ppc sparc "
10 SLOT="0"
11 HOMEPAGE="http://space.mit.edu/~davis/slang/"
12
13 DEPEND=">=sys-libs/ncurses-5.2-r2"
14
15 src_compile() {
16 ./configure \
17 --host=${CHOST} \
18 --prefix=/usr || die "./configure failed"
19 # emake doesn't work well with slang, so just use normal make.
20 make all elf || die "make failed"
21 }
22
23 src_install() {
24 make install install-elf DESTDIR=${D} || die "make install failed"
25 ( cd ${D}/usr/lib ; chmod 755 libslang.so.* )
26 # remove the documentation... we want to install it ourselves
27 rm -rf ${D}/usr/doc
28 dodoc COPYING* NEWS README *.txt
29 dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
30 docinto html
31 dodoc doc/*.html
32 }

  ViewVC Help
Powered by ViewVC 1.1.20