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

Contents of /sys-libs/slang/slang-2.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Mon Feb 11 15:19:47 2008 UTC (11 years, 11 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.4.3)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-2.1.3.ebuild,v 1.11 2008/02/11 11:44:57 drac Exp $
4
5 inherit eutils
6
7 DESCRIPTION="a portable programmer's library designed to allow a developer to create robust portable software."
8 HOMEPAGE="http://www.s-lang.org"
9 SRC_URI="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${PV%.*}/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
14 IUSE="pcre png"
15
16 RDEPEND="pcre? ( dev-libs/libpcre )
17 png? ( media-libs/libpng )"
18 DEPEND="${RDEPEND}
19 !=sys-libs/slang-2.1.2"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${FILESDIR}"/${PN}-2.1.2-slsh-libs.patch
25 }
26
27 src_compile() {
28 econf $(use_with pcre) $(use_with png)
29 emake -j1 elf static || die "emake elf static failed."
30 cd slsh
31 emake -j1 slsh || die "emake slsh failed."
32 }
33
34 src_install() {
35 emake -j1 DESTDIR="${D}" install-all || die "emake install failed."
36
37 rm -rf "${D}"/usr/share/doc/{slang,slsh}
38
39 dodoc NEWS README *.txt doc/{,internal,text}/*.txt
40 dohtml doc/slangdoc.html slsh/doc/html/*.html
41 }

  ViewVC Help
Powered by ViewVC 1.1.20