/[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.3 - (show annotations) (download)
Fri Sep 15 20:09:29 2000 UTC (19 years, 6 months ago) by drobbins
Branch: MAIN
Changes since 1.2: +3 -3 lines
added try syntax

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.1-r1.ebuild,v 1.2 2000/08/16 04:38:36 drobbins Exp $
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 SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${A}"
11
12 src_compile() {
13 try ./configure --host=${CHOST} --prefix=/usr
14 try make elf
15 }
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