summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kuleshov <sergey@gentoo.org>2004-06-30 16:32:03 +0000
committerSergey Kuleshov <sergey@gentoo.org>2004-06-30 16:32:03 +0000
commitd7b1c036c026cee0a81005a7f14877621858b7a5 (patch)
tree9944b1179cdc19baf56b9b02a31e041a47184048 /app-doc/chmlib
parentsync IUSE (+X), trim trailing whitespace (Manifest recommit) (diff)
downloadgentoo-2-d7b1c036c026cee0a81005a7f14877621858b7a5.tar.gz
gentoo-2-d7b1c036c026cee0a81005a7f14877621858b7a5.tar.bz2
gentoo-2-d7b1c036c026cee0a81005a7f14877621858b7a5.zip
Double version bump - 0.33 and 0.35. Also added metadata.xml.
Diffstat (limited to 'app-doc/chmlib')
-rw-r--r--app-doc/chmlib/ChangeLog8
-rw-r--r--app-doc/chmlib/Manifest6
-rw-r--r--app-doc/chmlib/chmlib-0.33.ebuild60
-rw-r--r--app-doc/chmlib/chmlib-0.35.ebuild60
-rw-r--r--app-doc/chmlib/metadata.xml9
5 files changed, 141 insertions, 2 deletions
diff --git a/app-doc/chmlib/ChangeLog b/app-doc/chmlib/ChangeLog
index 1904c5936dc7..06596dafa8c8 100644
--- a/app-doc/chmlib/ChangeLog
+++ b/app-doc/chmlib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-doc/chmlib
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.7 2004/06/30 00:50:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.8 2004/06/30 16:32:03 sergey Exp $
+
+*chmlib-0.33 (30 Jun 2004)
+
+ 30 Jun 2004; Sergey Kuleshov <svyatogor@gentoo.org> +metadata.xml,
+ +chmlib-0.33.ebuild, +chmlib-0.35.ebuild:
+ Version bumps for 0.33 and 0.35. Added metadata.xml
29 Jun 2004; Aron Griffis <agriffis@gentoo.org> chmlib-0.31.ebuild,
chmlib-0.32.ebuild:
diff --git a/app-doc/chmlib/Manifest b/app-doc/chmlib/Manifest
index f9cdc264da3b..d3c39221edfc 100644
--- a/app-doc/chmlib/Manifest
+++ b/app-doc/chmlib/Manifest
@@ -1,5 +1,9 @@
-MD5 958f821818a5bc52ea84b74e48341a30 chmlib-0.32.ebuild 1675
MD5 5ba342c2f8cf213ae3d6d02e9e6489ca chmlib-0.31.ebuild 1471
MD5 7bb4b7a20cf20cf169584c62b50893e2 ChangeLog 1002
+MD5 958f821818a5bc52ea84b74e48341a30 chmlib-0.32.ebuild 1675
+MD5 958f821818a5bc52ea84b74e48341a30 chmlib-0.33.ebuild 1675
+MD5 958f821818a5bc52ea84b74e48341a30 chmlib-0.35.ebuild 1675
MD5 5e241d7b61c20016a54f95cc7538c41c files/digest-chmlib-0.31 59
MD5 79e2ad3061c14b4285f578bc09190b55 files/digest-chmlib-0.32 60
+MD5 d946aa58575a98474e1d1f8c01195a6e files/digest-chmlib-0.33 60
+MD5 5f72df9f154b0843fcc8986396d9e476 files/digest-chmlib-0.35 60
diff --git a/app-doc/chmlib/chmlib-0.33.ebuild b/app-doc/chmlib/chmlib-0.33.ebuild
new file mode 100644
index 000000000000..3884fbd5f62c
--- /dev/null
+++ b/app-doc/chmlib/chmlib-0.33.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.33.ebuild,v 1.1 2004/06/30 16:32:03 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"
+DEPEND=">=sys-apps/sed-4"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -r "s,(\\\$\\{INSTALLPREFIX\\}),\${DESTDIR}\\1,g;s,@LIBTOOL@,libtool,g" Makefile.in
+ econf || die "econf failed"
+# 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__:" src/chm_lib.c
+ fi
+ if [ "${ARCH}" == "amd64" ]; then
+ sed -i "s:__i386__:__x86_64__:" src/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 NEWS README
+}
diff --git a/app-doc/chmlib/chmlib-0.35.ebuild b/app-doc/chmlib/chmlib-0.35.ebuild
new file mode 100644
index 000000000000..df1a4d791b2d
--- /dev/null
+++ b/app-doc/chmlib/chmlib-0.35.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.35.ebuild,v 1.1 2004/06/30 16:32:03 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"
+DEPEND=">=sys-apps/sed-4"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+#S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -r "s,(\\\$\\{INSTALLPREFIX\\}),\${DESTDIR}\\1,g;s,@LIBTOOL@,libtool,g" Makefile.in
+ econf || die "econf failed"
+# 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__:" src/chm_lib.c
+ fi
+ if [ "${ARCH}" == "amd64" ]; then
+ sed -i "s:__i386__:__x86_64__:" src/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 NEWS README
+}
diff --git a/app-doc/chmlib/metadata.xml b/app-doc/chmlib/metadata.xml
new file mode 100644
index 000000000000..6b69b9e8f89b
--- /dev/null
+++ b/app-doc/chmlib/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>svyatogor@gentoo.org</email>
+ <name>Sergey Kuleshov</name>
+</maintainer>
+</pkgmetadata>