diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-06 12:06:37 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-06 12:06:37 +0000 |
commit | 7948445d308e9afb1c3a8209cb669e6d3342d4a9 (patch) | |
tree | 85e18c80b3f32d1d6be1f14f45a59dc92a2f2f98 /sys-libs/slang | |
parent | ebuild foo.ebuild unmerge now works again (diff) | |
download | gentoo-2-7948445d308e9afb1c3a8209cb669e6d3342d4a9.tar.gz gentoo-2-7948445d308e9afb1c3a8209cb669e6d3342d4a9.tar.bz2 gentoo-2-7948445d308e9afb1c3a8209cb669e6d3342d4a9.zip |
*** empty log message ***
Diffstat (limited to 'sys-libs/slang')
-rw-r--r-- | sys-libs/slang/files/digest-slang-1.4.4-r1 | 1 | ||||
-rw-r--r-- | sys-libs/slang/slang-1.4.4-r1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-libs/slang/files/digest-slang-1.4.4-r1 b/sys-libs/slang/files/digest-slang-1.4.4-r1 new file mode 100644 index 000000000000..a4b735e7b0cc --- /dev/null +++ b/sys-libs/slang/files/digest-slang-1.4.4-r1 @@ -0,0 +1 @@ +MD5 111f8d2b8d7bc9bbb4d0593538553618 slang-1.4.4.tar.gz diff --git a/sys-libs/slang/slang-1.4.4-r1.ebuild b/sys-libs/slang/slang-1.4.4-r1.ebuild new file mode 100644 index 000000000000..203488344b7c --- /dev/null +++ b/sys-libs/slang/slang-1.4.4-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.4-r1.ebuild,v 1.1 2001/04/06 12:06:37 achim Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Console display library used by most text viewer" +SRC_URI="ftp://space.mit.edu/pub/davis/slang/v1.4/${A}" + +DEPEND=">=sys-libs/ncurses-5.2-r2" + +src_unpack() { + + unpack ${A} + cd ${S} + cp configure configure.orig + sed -e "s/ELF_CFLAGS=\"-O2/ELF_CFLAGS=\"${CFLAGS}/" configure.orig > configure +} + + +src_compile() { + + try ./configure --host=${CHOST} --prefix=/usr + try make ${MAKEOPTS} prefix=${D}/usr all elf + #cp src/objs/libslang.a . + #try make ${MAKEOPTS} prefix=${D}/usr clean elf +} + +src_install() { + + dolib.a src/objs/libslang.a + dolib.so src/elfobjs/libslang.so.${PV} + dosym linslang.so.${PV} /usr/lib/libslang.so + + insinto /usr/include + doins src/{slang.h,slcurses.h} + dodoc COPYING* NEWS README *.txt + dodoc doc/*.txt doc/internal/*.txt doc/text/*.txt + docinto html + dodoc doc/*.html +} + + + |