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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.26 - (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.25: +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-r2.ebuild,v 1.25 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 alpha mips hppa amd64"
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 # remove hardcoded compilers
17 cp configure configure.orig
18 sed -e "s:=\"gcc:=\"${CC:-gcc}:" \
19 configure.orig > configure
20 ./configure \
21 --host=${CHOST} \
22 --prefix=/usr || die "./configure failed"
23 # emake doesn't work well with slang, so just use normal make.
24 make all elf || die "make failed"
25 }
26
27 src_install() {
28 make install install-elf install-links DESTDIR=${D} || die "make install failed"
29 ( cd ${D}/usr/lib ; chmod 755 libslang.so.* )
30 # remove the documentation... we want to install it ourselves
31 rm -rf ${D}/usr/doc
32 dodoc COPYING* NEWS README *.txt
33 dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
34 dohtml doc/*.html
35 }

  ViewVC Help
Powered by ViewVC 1.1.20