diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-24 20:02:13 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-24 20:02:13 +0000 |
commit | 6213074e89711f3e600c525e4e1077f77ea6d7a1 (patch) | |
tree | 2ceea3c303eff7bce057a04f80ef3a2529b3efc0 /app-text/opensp | |
parent | Mask mail-client/exmh since it depends on mail-client/nmh (diff) | |
download | historical-6213074e89711f3e600c525e4e1077f77ea6d7a1.tar.gz historical-6213074e89711f3e600c525e4e1077f77ea6d7a1.tar.bz2 historical-6213074e89711f3e600c525e4e1077f77ea6d7a1.zip |
EAPI=2; add static-libs support; tidy
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'app-text/opensp')
-rw-r--r-- | app-text/opensp/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/opensp/Manifest | 3 | ||||
-rw-r--r-- | app-text/opensp/opensp-1.5.2-r2.ebuild | 81 |
3 files changed, 91 insertions, 3 deletions
diff --git a/app-text/opensp/ChangeLog b/app-text/opensp/ChangeLog index ca5289ed69d4..b5cb5efc578d 100644 --- a/app-text/opensp/ChangeLog +++ b/app-text/opensp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/opensp -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.44 2007/06/19 13:56:08 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.45 2010/06/24 20:02:13 mr_bones_ Exp $ + +*opensp-1.5.2-r2 (24 Jun 2010) + + 24 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org> + +opensp-1.5.2-r2.ebuild: + EAPI=2; add static-libs support; tidy 19 Jun 2007; Raúl Porcel <armin76@gentoo.org> opensp-1.5.2-r1.ebuild: alpha stable wrt #152364 diff --git a/app-text/opensp/Manifest b/app-text/opensp/Manifest index 0556cc424ee1..1ee4202a6908 100644 --- a/app-text/opensp/Manifest +++ b/app-text/opensp/Manifest @@ -4,5 +4,6 @@ DIST OpenSP-1.5.1.tar.gz 1418784 RMD160 42731fff1e5a1529037c2398de6efe5d9c608a74 DIST OpenSP-1.5.2.tar.gz 1521390 RMD160 6e671a267562c5b9283e7e6504e8339cb1d86850 SHA1 b4e903e980f8a8b3887396a24e067bef126e97d5 SHA256 57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce EBUILD opensp-1.5.1.ebuild 1680 RMD160 d58195a0382b05797ca4f30c03aad4d3e2a35dfe SHA1 87c1e084c950c41e776bc19e159a93af92fcc88b SHA256 95bf1213fec55a6baa76dbc5ca2fb786959d67d116aacd7095aabb104136d22d EBUILD opensp-1.5.2-r1.ebuild 2281 RMD160 0ec9be226781cc1edb6eaccf39585660faf276de SHA1 626779a42d27f2fd5d12db18a69e5053ee7242ee SHA256 d668cf650675a1d10c81e570ac9856c42a26e12bfee2ab97301ee580628135a2 -MISC ChangeLog 5283 RMD160 0af6805faf943e61195394999e1160a5aa00a3fd SHA1 d067a6d743e5f32a4edc4ee44923c8e79e7ea346 SHA256 c87318ee21296e8066c1b949b23c28a16f0cd9151e26c53d0afe4701e5b4f7b4 +EBUILD opensp-1.5.2-r2.ebuild 2337 RMD160 387e6b251b0ca952264fb56ff92391bd7b2b9ba8 SHA1 18b33798e086b4731d9f9f76fed395e999aa080e SHA256 e50a799af9517719d64f92409372bded91e8ffe13efd0be675bd493b6d43f53d +MISC ChangeLog 5440 RMD160 b8696f2b870e4520692d3d4a2faee9d7d2f30bab SHA1 06255440a8dede3e095e774fac9ffe48dbdee702 SHA256 26e06b3dadddd2c8b436253272fd2684e6cdcac4081ca3d3de7badb52c3e0dc1 MISC metadata.xml 159 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 SHA1 3c1d0831d8acacef390234d20d7711cabded861a SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3 diff --git a/app-text/opensp/opensp-1.5.2-r2.ebuild b/app-text/opensp/opensp-1.5.2-r2.ebuild new file mode 100644 index 000000000000..0318456cf0d8 --- /dev/null +++ b/app-text/opensp/opensp-1.5.2-r2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.2-r2.ebuild,v 1.1 2010/06/24 20:02:13 mr_bones_ Exp $ + +EAPI=2 +inherit eutils flag-o-matic + +MY_P=${P/opensp/OpenSP} +DESCRIPTION="A free, object-oriented toolkit for SGML parsing and entity management" +HOMEPAGE="http://openjade.sourceforge.net/" +SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz" + +LICENSE="JamesClark" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="doc nls static-libs" + +DEPEND="nls? ( >=sys-devel/gettext-0.14.5 ) + doc? ( + app-text/xmlto + ~app-text/docbook-xml-dtd-4.1.2 + )" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.5-gcc34.patch +} + +src_configure() { + # + # The following filters are taken from openjade's ebuild. See bug #100828. + # + + # Please note! Opts are disabled. If you know what you're doing + # feel free to remove this line. It may cause problems with + # docbook-sgml-utils among other things. + ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march" + strip-flags + + # Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault + # on hppa. Using -O1 works fine. So I force it here. + use hppa && replace-flags -O2 -O1 + + econf \ + --disable-dependency-tracking \ + --enable-http \ + --enable-default-catalog=/etc/sgml/catalog \ + --enable-default-search-path=/usr/share/sgml \ + --datadir=/usr/share/sgml/${P} \ + $(use_enable nls) \ + $(use_enable doc doc-build) \ + $(use_enable static-libs static) +} + +src_compile() { + emake pkgdocdir=/usr/share/doc/${PF} || die "Compilation failed" +} + +src_test() { + echo ">>> Test phase [check]: ${CATEGORY}/${PF}" + einfo "Skipping tests known not to work" + make SHOWSTOPPERS= check || die "Make test failed" + SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}" +} + +src_install() { + emake DESTDIR="${D}" \ + pkgdocdir=/usr/share/doc/${PF} install || die "Installation failed" + + dodoc AUTHORS BUGS ChangeLog NEWS README +} + +pkg_postinst() { + ewarn "Please note that the soname of the library changed." + ewarn "If you are upgrading from a previous version you need" + ewarn "to fix dynamic linking inconsistencies by executing:" + ewarn + ewarn " revdep-rebuild --library='libosp.so.*'" +} |