summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kuleshov <svyatogor@gentoo.org>2004-05-31 09:48:29 +0000
committerSergey Kuleshov <svyatogor@gentoo.org>2004-05-31 09:48:29 +0000
commit7bad0c7cfc4f4f8b3ca3ae934f49e5b322aa53b7 (patch)
treef67aec7d412ea807eacba809d0a10ea56e0d1831
parentFixed MANDIR path (diff)
downloadhistorical-7bad0c7cfc4f4f8b3ca3ae934f49e5b322aa53b7.tar.gz
historical-7bad0c7cfc4f4f8b3ca3ae934f49e5b322aa53b7.tar.bz2
historical-7bad0c7cfc4f4f8b3ca3ae934f49e5b322aa53b7.zip
Version bump. Closed bug #49978.
-rw-r--r--app-doc/chmlib/ChangeLog5
-rw-r--r--app-doc/chmlib/Manifest4
-rw-r--r--app-doc/chmlib/chmlib-0.32.ebuild56
-rw-r--r--app-doc/chmlib/files/digest-chmlib-0.321
4 files changed, 64 insertions, 2 deletions
diff --git a/app-doc/chmlib/ChangeLog b/app-doc/chmlib/ChangeLog
index 4841916af904..5f14e1c0d026 100644
--- a/app-doc/chmlib/ChangeLog
+++ b/app-doc/chmlib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-doc/chmlib
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.3 2004/04/20 18:22:26 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.4 2004/05/31 09:48:29 sergey Exp $
+
+ 31 May 2004; Sergey Kuleshov <svyatogor@gentoo.org> :
+ Version bump. Closing bug #49978. Thanks to Rui Lopes.
20 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> chmlib-0.31.ebuild:
marked ~amd64
diff --git a/app-doc/chmlib/Manifest b/app-doc/chmlib/Manifest
index 372dacc6999f..0ffc6e730445 100644
--- a/app-doc/chmlib/Manifest
+++ b/app-doc/chmlib/Manifest
@@ -1,3 +1,5 @@
-MD5 b95156748e1e3b37879edd11ad1028b3 ChangeLog 659
MD5 cac6e3f8f5896db244b995ea2ca37ce8 chmlib-0.31.ebuild 1454
+MD5 3d450ed38725175c848b99830241ef34 ChangeLog 770
+MD5 ac56313110edbcb62320c6e610479d4f chmlib-0.32.ebuild 1631
MD5 5e241d7b61c20016a54f95cc7538c41c files/digest-chmlib-0.31 59
+MD5 79e2ad3061c14b4285f578bc09190b55 files/digest-chmlib-0.32 60
diff --git a/app-doc/chmlib/chmlib-0.32.ebuild b/app-doc/chmlib/chmlib-0.32.ebuild
new file mode 100644
index 000000000000..74c700a5ec28
--- /dev/null
+++ b/app-doc/chmlib/chmlib-0.32.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.32.ebuild,v 1.1 2004/05/31 09:48:29 sergey Exp $
+
+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/${PF}.tgz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -r "s,(\\\$\\{INSTALLPREFIX\\}),\${DESTDIR}\\1,g;s,@LIBTOOL@,libtool,g" Makefile.in
+ econf
+# sed -i "s:gcc-3.2:gcc:" Makefile
+# sed -i "s:/usr/local/:/${D}/usr/:" Makefile
+# if [ "${ARCH}" = "ppc" ]; then
+# # In this case it is safe to take this rather
+# # stupid action =)
+# sed -i "s:__i386__:__powerpc__:" chm_lib.c
+# fi
+# if [ "${ARCH}" = "amd64" ]; then
+# sed -i "s:__i386__:__x86_64__:" chm_lib.c
+# fi
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ #Make expects to find these dirs.
+ dodir /usr/bin
+ dodir /usr/lib
+ dodir /usr/include
+ dodir /usr/share/doc/${PF}/examples/
+
+ make install DESTDIR=${D}
+
+ #Build additional utils, making this lib useful by itself.
+ #This cannot be build in src_compile as it needs to find chmlib.
+ emake extract_chmLib DESTDIR=${D} || die
+ emake chm_http DESTDIR=${D} || die
+ exeinto /usr/bin
+ newexe extract_chmLib chmextract
+ newexe chm_http chmhttp
+
+ #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 COPYING NEWS README
+}
diff --git a/app-doc/chmlib/files/digest-chmlib-0.32 b/app-doc/chmlib/files/digest-chmlib-0.32
new file mode 100644
index 000000000000..bee429dffeb6
--- /dev/null
+++ b/app-doc/chmlib/files/digest-chmlib-0.32
@@ -0,0 +1 @@
+MD5 cd8b4c7ac7f56ff28a909b46893108f8 chmlib-0.32.tgz 359521