diff options
author | Matti Bickel <mabi@gentoo.org> | 2010-03-12 19:59:11 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2010-03-12 19:59:11 +0000 |
commit | 6b13de731887452d988f09fe5490a78a837b20ad (patch) | |
tree | 893c8c9173ab732d7e7e03fae7ca7a67bd266ead /x11-libs/fxscintilla/fxscintilla-1.71-r2.ebuild | |
parent | Version bump to 0.9 (diff) | |
download | gentoo-2-6b13de731887452d988f09fe5490a78a837b20ad.tar.gz gentoo-2-6b13de731887452d988f09fe5490a78a837b20ad.tar.bz2 gentoo-2-6b13de731887452d988f09fe5490a78a837b20ad.zip |
drop support for fox-1.4
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'x11-libs/fxscintilla/fxscintilla-1.71-r2.ebuild')
-rw-r--r-- | x11-libs/fxscintilla/fxscintilla-1.71-r2.ebuild | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/x11-libs/fxscintilla/fxscintilla-1.71-r2.ebuild b/x11-libs/fxscintilla/fxscintilla-1.71-r2.ebuild new file mode 100644 index 000000000000..24fc74ea7d4c --- /dev/null +++ b/x11-libs/fxscintilla/fxscintilla-1.71-r2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/fxscintilla/fxscintilla-1.71-r2.ebuild,v 1.1 2010/03/12 19:59:11 mabi Exp $ + +EAPI=2 + +inherit autotools eutils multilib + +DESCRIPTION="A free source code editing component for the FOX-Toolkit" +HOMEPAGE="http://www.nongnu.org/fxscintilla/" +SRC_URI="http://savannah.nongnu.org/download/fxscintilla/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +RDEPEND="x11-libs/fox:1.6" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/1.71-shared-libs.patch \ + "${FILESDIR}"/1.71-fox-SLOT.patch + + touch NEWS AUTHORS + eautoreconf || die "autoreconf error" +} + +src_compile () { + # Borrowed from wxGTK ebuild + + einfo "Building ${PN} for FOX-1.6..." + mkdir "${S}"/build_1_6 + cd "${S}"/build_1_6 + ../configure \ + --prefix=/usr \ + --includedir=/usr/include \ + --libdir=/usr/$(get_libdir) \ + ${EXTRA_ECONF} \ + --enable-nolexer \ + --with-fox-1-6 \ + --with-foxinclude=/usr/include \ + || die "configure error" + emake || die "make error" +} + +src_install () { + cd "${S}"/build_1_6 + emake DESTDIR="${D}" install || die "make install error" + + cd "${S}" + dodoc README + if use doc ; then + dodoc scintilla/doc/Lexer.txt + dohtml scintilla/doc/* + fi +} + +pkg_postinst() { + elog "New as of 1.71-r1:" + elog "FXScintilla is now built only against FOX-1.6." + elog "Support for FOX-1.0 has been dropped upstream." + elog "Support for FOX-1.2 and FOX-1.4 has been dropped by gentoo." + elog "The Librarys are named for the FOX-release they correspond to, for" + elog "example: For FOX-1.6, the library is called libfxscintilla-1.6." + elog "Anything linked against previous releases of FOX and fxscintilla" + elog "may need to be rebuilt." + elog + elog "The nolexer libraries are now included in this release as well." +} |