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

Contents of /sys-libs/slang/slang-1.4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Apr 30 12:10:51 2001 UTC (18 years, 8 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Cleanup

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Daniel Robbins <drobbins@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.2.ebuild,v 1.6 2001/01/31 20:49:07 achim Exp $
5
6 P=slang-1.4.2
7 A=${P}.tar.gz
8 S=${WORKDIR}/${P}
9 DESCRIPTION="Console display library used by most text viewer"
10 SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${A}"
11
12 DEPEND="virtual/glibc"
13
14 src_compile() {
15 try ./configure --host=${CHOST} --prefix=/usr
16 try make ${MAKEOPTS} prefix=${D}/usr elf
17 }
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 cp configure configure.orig
23 sed -e "s/ELF_CFLAGS=\"-O2/ELF_CFLAGS=\"${CFLAGS}/" configure.orig > configure
24 }
25
26 src_install() {
27 try make ${MAKEOPTS} prefix=${D}/usr install-elf
28 mv ${D}/usr/lib ${D}
29 preplib /usr
30 rm -rf ${D}/usr/doc/slang
31 dodoc COPYING* NEWS README *.txt
32 dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
33 docinto html
34 dodoc doc/*.html
35 }
36
37
38

  ViewVC Help
Powered by ViewVC 1.1.20