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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Tue Oct 3 16:02:08 2000 UTC (19 years, 6 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
*** empty log message ***

1 achim 1.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 achim 1.4 # $Header: /home/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.1-r1.ebuild,v 1.3 2000/09/15 20:09:29 drobbins Exp $
5 achim 1.1
6     P=slang-1.4.1
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     src_compile() {
13 drobbins 1.3 try ./configure --host=${CHOST} --prefix=/usr
14     try make elf
15 achim 1.1 }
16    
17     src_unpack() {
18     unpack ${A}
19     cd ${S}
20     cp configure configure.orig
21     sed -e "s/ELF_CFLAGS=\"-O2/ELF_CFLAGS=\"${CFLAGS}/" configure.orig > configure
22     }
23    
24     src_install() {
25     into /usr
26     libopts -m0755
27     dolib src/elfobjs/libslang.so.1.4.1
28     dosym libslang.so.1.4.1 /usr/lib/libslang.so.1
29     dosym libslang.so.1 /usr/lib/libslang.so
30     dodoc COPYING* NEWS README *.txt
31     dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
32     docinto html
33     dodoc doc/*.html
34     dodir /usr/include
35     insinto /usr/include
36     cd ${S}/src
37     doins slang.h slcurses.h
38     }
39    
40    
41    

  ViewVC Help
Powered by ViewVC 1.1.20