diff options
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/chmlib/ChangeLog | 8 | ||||
-rw-r--r-- | app-doc/chmlib/chmlib-0.37.4.ebuild | 4 | ||||
-rw-r--r-- | app-doc/chmlib/chmlib-0.38.ebuild | 61 | ||||
-rw-r--r-- | app-doc/chmlib/files/digest-chmlib-0.38 | 3 |
4 files changed, 73 insertions, 3 deletions
diff --git a/app-doc/chmlib/ChangeLog b/app-doc/chmlib/ChangeLog index d42211d58503..d19b92bfa1af 100644 --- a/app-doc/chmlib/ChangeLog +++ b/app-doc/chmlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-doc/chmlib # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.18 2006/08/06 01:53:16 chriswhite Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.19 2006/08/08 22:14:39 wormo Exp $ + +*chmlib-0.38 (10 Aug 2006) + + 08 Aug 2006; <sjl@gentoo.org> +chmlib-0.38.ebuild: + version bump for security fix (Bug #143181) + also marked ~hppa 05 Aug 2006; Chris White <chriswhite@gentoo.org> -chmlib-0.31.ebuild, -chmlib-0.32.ebuild, -chmlib-0.33.ebuild, -chmlib-0.35.ebuild: diff --git a/app-doc/chmlib/chmlib-0.37.4.ebuild b/app-doc/chmlib/chmlib-0.37.4.ebuild index 9293548ae47e..9f9d85f4bacb 100644 --- a/app-doc/chmlib/chmlib-0.37.4.ebuild +++ b/app-doc/chmlib/chmlib-0.37.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.37.4.ebuild,v 1.4 2005/11/27 19:47:47 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.37.4.ebuild,v 1.5 2006/08/08 22:14:39 wormo Exp $ inherit eutils multilib flag-o-matic versionator diff --git a/app-doc/chmlib/chmlib-0.38.ebuild b/app-doc/chmlib/chmlib-0.38.ebuild new file mode 100644 index 000000000000..33b782854d06 --- /dev/null +++ b/app-doc/chmlib/chmlib-0.38.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.38.ebuild,v 1.1 2006/08/08 22:14:39 wormo Exp $ + +inherit eutils multilib flag-o-matic versionator + +DESCRIPTION="Library for MS CHM (compressed html) file format plus extracting and http server utils" +HOMEPAGE="http://66.93.236.84/~jedwin/projects/chmlib/" +SRC_URI="http://66.93.236.84/~jedwin/projects/chmlib/${P}.tar.gz" +DEPEND=">=sys-apps/sed-4" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="" + +MY_PV=$(get_version_component_range 1-2 ) +S="${WORKDIR}/${PN}-${MY_PV}" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -r "s,(\\\$\\{INSTALLPREFIX\\}),\${DESTDIR}\\1,g; + s,@LIBTOOL@,libtool,g; + s,(\\\$\\{INSTALLPREFIX\\})/lib,\1/$(get_libdir),g" \ + Makefile.in || die "sed failed" + + if [ "${ARCH}" = "ppc" ]; then + # In this case it is safe to take this rather + # stupid action =) + sed -i "s:__i386__:__powerpc__:" src/chm_lib.c + fi + + if [ "${ARCH}" == "hppa" ]; then + sed -i "s:__i386__:__hppa__:" src/chm_lib.c + fi +} + + +src_compile() { + append-flags "-L${S}/src/.libs" + + econf --enable-examples=yes|| die "econf failed" + emake || die +} + +src_install() { + #Make expects to find these dirs. + dodir /usr/bin + dodir /usr/$(get_libdir) + dodir /usr/include + dodir /usr/share/doc/${PF}/examples/ + + make install DESTDIR=${D} + + #Install examples as well. + insinto /usr/share/doc/${PF}/examples/ + doins src/test_chmLib.c src/enum_chmLib.c src/chm_http.c + + dodoc AUTHORS NEWS README +} diff --git a/app-doc/chmlib/files/digest-chmlib-0.38 b/app-doc/chmlib/files/digest-chmlib-0.38 new file mode 100644 index 000000000000..29bde8f05210 --- /dev/null +++ b/app-doc/chmlib/files/digest-chmlib-0.38 @@ -0,0 +1,3 @@ +MD5 3c542e5759e5559ec507186d6b0b1cfc chmlib-0.38.tar.gz 356286 +RMD160 ed91f650591ebaf6bffeb3a3ca8c51bbb9e6540b chmlib-0.38.tar.gz 356286 +SHA256 612460bdac8e418a22653450dac56360cac8d97b396029481f7b1da0c3f7714b chmlib-0.38.tar.gz 356286 |