diff options
author | Sergey Kuleshov <sergey@gentoo.org> | 2003-09-10 07:33:11 +0000 |
---|---|---|
committer | Sergey Kuleshov <sergey@gentoo.org> | 2003-09-10 07:33:11 +0000 |
commit | a079f19947a3df204b7d0efb6894b4bb5ea06904 (patch) | |
tree | 5ad614497f66223a12920e4dbefc752243cc4464 /app-doc | |
parent | Initial commit. (diff) | |
download | gentoo-2-a079f19947a3df204b7d0efb6894b4bb5ea06904.tar.gz gentoo-2-a079f19947a3df204b7d0efb6894b4bb5ea06904.tar.bz2 gentoo-2-a079f19947a3df204b7d0efb6894b4bb5ea06904.zip |
Initial commit.
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/chmlib/ChangeLog | 10 | ||||
-rw-r--r-- | app-doc/chmlib/Manifest | 4 | ||||
-rw-r--r-- | app-doc/chmlib/chmlib-0.31.ebuild | 47 | ||||
-rw-r--r-- | app-doc/chmlib/files/digest-chmlib-0.31 | 1 |
4 files changed, 60 insertions, 2 deletions
diff --git a/app-doc/chmlib/ChangeLog b/app-doc/chmlib/ChangeLog new file mode 100644 index 000000000000..13665d35473f --- /dev/null +++ b/app-doc/chmlib/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-doc/chmlib +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.1 2003/09/10 07:33:04 sergey Exp $ + +*chmlib-0.31 (10 Sep 2003) + + 10 Sep 2003; Sergey Kuleshov <svyatogor@gentoo.org> chmlib-0.31.ebuild: + Initial commit of chmlib. Closing the bug #21342. Thanks to Andrew Kirilenko + <icedank@gmx.net> for the contributed ebuild. + diff --git a/app-doc/chmlib/Manifest b/app-doc/chmlib/Manifest index 936e0404fcd7..36c5fc77926d 100644 --- a/app-doc/chmlib/Manifest +++ b/app-doc/chmlib/Manifest @@ -1,3 +1,3 @@ -MD5 d9fe468c1b243202a8c3931784fe9416 chmlib-0.31.ebuild 1194 -MD5 4546c7539396f98d389e75cedebb088d ChangeLog 353 +MD5 6a348b46f99bd77dc4aee3eb10f50684 chmlib-0.31.ebuild 1290 +MD5 c339a8988557edfb9a108fd32cde4bc8 ChangeLog 440 MD5 5e241d7b61c20016a54f95cc7538c41c files/digest-chmlib-0.31 59 diff --git a/app-doc/chmlib/chmlib-0.31.ebuild b/app-doc/chmlib/chmlib-0.31.ebuild new file mode 100644 index 000000000000..b4faebf3c517 --- /dev/null +++ b/app-doc/chmlib/chmlib-0.31.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.31.ebuild,v 1.1 2003/09/10 07:33:04 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" + +src_unpack() { + unpack ${A} + cd ${S} + mv Makefile Makefile.tmp + sed -e "s:gcc-3.2:gcc:" Makefile.tmp > Makefile + mv Makefile Makefile.tmp + sed -e "s:/usr/local/:/${D}/usr/:" Makefile.tmp > Makefile +} + +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 + + #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 || die + emake chm_http || die + exeinto /usr/bin + newexe extract_chmLib chmextract + newexe chm_http chmhttp + + #Install examples as well. + insinto /usr/share/doc/${PF}/examples/ + doins test_chmLib.c enum_chmLib.c chm_http.c + + dodoc AUTHORS COPYING NEWS README +} diff --git a/app-doc/chmlib/files/digest-chmlib-0.31 b/app-doc/chmlib/files/digest-chmlib-0.31 new file mode 100644 index 000000000000..60f204b3ccb5 --- /dev/null +++ b/app-doc/chmlib/files/digest-chmlib-0.31 @@ -0,0 +1 @@ +MD5 5ff2d8476d4124d04aae11601b844c63 chmlib-0.31.tgz 45453 |