diff options
author | Chris White <chriswhite@gentoo.org> | 2006-08-06 01:53:30 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2006-08-06 01:53:30 +0000 |
commit | cc097175ccb41ed0bdc13f502af7c415ef7b9207 (patch) | |
tree | 3dec87d0dd3c0279aeb66ffce510865b8942f4b9 /app-doc/chmlib/chmlib-0.32.ebuild | |
parent | Adding perl dep; fixed DEPEND (diff) | |
download | gentoo-2-cc097175ccb41ed0bdc13f502af7c415ef7b9207.tar.gz gentoo-2-cc097175ccb41ed0bdc13f502af7c415ef7b9207.tar.bz2 gentoo-2-cc097175ccb41ed0bdc13f502af7c415ef7b9207.zip |
Security punts for bug #140498.
(Portage version: 2.1.1_pre4-r2)
(Signed Manifest commit)
Diffstat (limited to 'app-doc/chmlib/chmlib-0.32.ebuild')
-rw-r--r-- | app-doc/chmlib/chmlib-0.32.ebuild | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/app-doc/chmlib/chmlib-0.32.ebuild b/app-doc/chmlib/chmlib-0.32.ebuild deleted file mode 100644 index 96f39a67f1cf..000000000000 --- a/app-doc/chmlib/chmlib-0.32.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# 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.8 2005/01/01 13:05:16 eradicator 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 -} |