/[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.1 - (hide annotations) (download)
Thu Aug 3 16:22:36 2000 UTC (19 years, 8 months ago) by achim
Branch: MAIN
*** 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     # $Header$
5    
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     CATEGORY="sys-libs"
11     SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${A}"
12    
13     src_compile() {
14     ./configure --host=${CHOST} --prefix=/usr
15     make elf
16     }
17    
18     src_unpack() {
19     unpack ${A}
20     cd ${S}
21     cp configure configure.orig
22     sed -e "s/ELF_CFLAGS=\"-O2/ELF_CFLAGS=\"${CFLAGS}/" configure.orig > configure
23     }
24    
25     src_install() {
26     into /usr
27     libopts -m0755
28     dolib src/elfobjs/libslang.so.1.4.1
29     dosym libslang.so.1.4.1 /usr/lib/libslang.so.1
30     dosym libslang.so.1 /usr/lib/libslang.so
31     dodoc COPYING* NEWS README *.txt
32     dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt
33     docinto html
34     dodoc doc/*.html
35     dodir /usr/include
36     insinto /usr/include
37     cd ${S}/src
38     doins slang.h slcurses.h
39     }
40    
41    
42    

  ViewVC Help
Powered by ViewVC 1.1.20