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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Mar 5 04:25:43 2002 UTC (17 years, 11 months ago) by woodchip
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
install the .so mode 755.  fix a small doc install bug.  this is
the last of the 'mode 755' bug fixes tonight, and now closes #921.

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 woodchip 1.3 # $Header: /home/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.4-r1.ebuild,v 1.2 2001/04/06 14:26:41 achim Exp $
5 achim 1.1
6     A=${P}.tar.gz
7     S=${WORKDIR}/${P}
8     DESCRIPTION="Console display library used by most text viewer"
9     SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${A}"
10    
11     DEPEND=">=sys-libs/ncurses-5.2-r2"
12    
13     src_unpack() {
14    
15     unpack ${A}
16     cd ${S}
17     cp configure configure.orig
18     sed -e "s/ELF_CFLAGS=\"-O2/ELF_CFLAGS=\"${CFLAGS}/" configure.orig > configure
19     }
20    
21    
22     src_compile() {
23    
24     try ./configure --host=${CHOST} --prefix=/usr
25     try make ${MAKEOPTS} prefix=${D}/usr all elf
26     #cp src/objs/libslang.a .
27     #try make ${MAKEOPTS} prefix=${D}/usr clean elf
28     }
29    
30     src_install() {
31    
32     dolib.a src/objs/libslang.a
33     dolib.so src/elfobjs/libslang.so.${PV}
34 achim 1.2 dosym libslang.so.${PV} /usr/lib/libslang.so
35 achim 1.1
36     insinto /usr/include
37     doins src/{slang.h,slcurses.h}
38     dodoc COPYING* NEWS README *.txt
39     dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
40     docinto html
41     dodoc doc/*.html
42     }
43    
44    
45    

  ViewVC Help
Powered by ViewVC 1.1.20