diff options
Diffstat (limited to 'dev-perl/gtk-perl')
-rw-r--r-- | dev-perl/gtk-perl/ChangeLog | 14 | ||||
-rw-r--r-- | dev-perl/gtk-perl/files/digest-gtk-perl-0.7008-r1 | 1 | ||||
-rw-r--r-- | dev-perl/gtk-perl/gtk-perl-0.7008-r1.ebuild | 48 |
3 files changed, 62 insertions, 1 deletions
diff --git a/dev-perl/gtk-perl/ChangeLog b/dev-perl/gtk-perl/ChangeLog index 321996e403c1..bd80b57eec1f 100644 --- a/dev-perl/gtk-perl/ChangeLog +++ b/dev-perl/gtk-perl/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for dev-perl/gtk-perl # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/ChangeLog,v 1.1 2002/02/01 21:53:28 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/ChangeLog,v 1.2 2002/05/04 16:00:48 seemant Exp $ + +*gtk-perl-0.7008-r1 (4 May 2002) + + 4 May 2002; Seemant Kulleen <seemant@gentoo.org> gtk-perl-0.7008-r1.ebuild + files/digest-gtk-perl-0.7008-r1 : + + The perllocal.pod file was being over-written by every single perl module. + To boot, the path in that file was the ${D} path. So, the path is sed'd out + and pkg_postinst() will now append the contents of the module's perllocal.pod + file to the end of the system's perllocal.pod file. Many thanks to + porcano@optonline.net (Anthony Porcano) in bug report #2299 for finding this. + *gtk-perl-0.7008 (1 Feb 2002) diff --git a/dev-perl/gtk-perl/files/digest-gtk-perl-0.7008-r1 b/dev-perl/gtk-perl/files/digest-gtk-perl-0.7008-r1 new file mode 100644 index 000000000000..14b778b7f495 --- /dev/null +++ b/dev-perl/gtk-perl/files/digest-gtk-perl-0.7008-r1 @@ -0,0 +1 @@ +MD5 b499abb5db7794f200abbf07879dd65d Gtk-Perl-0.7008.tar.gz 455977 diff --git a/dev-perl/gtk-perl/gtk-perl-0.7008-r1.ebuild b/dev-perl/gtk-perl/gtk-perl-0.7008-r1.ebuild new file mode 100644 index 000000000000..65652df03e9f --- /dev/null +++ b/dev-perl/gtk-perl/gtk-perl-0.7008-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/gtk-perl-0.7008-r1.ebuild,v 1.1 2002/05/04 16:00:48 seemant Exp $ + +S=${WORKDIR}/Gtk-Perl-${PV} +DESCRIPTION="Perl bindings for GTK" +SRC_URI="http://www.gtkperl.org/Gtk-Perl-0.7008.tar.gz" +HOMEPAGE="http://www.perl.org/" +SLOT="0" +DEPEND=">=x11-libs/gtk+-1.2.10-r4 + sys-devel/perl + dev-perl/XML-Writer + dev-perl/XML-Parser + gnome? ( gnome-base/gnome-libs )" + +PERLDIR="" +PERLLOCAL="" + +src_compile() { + local myconf + if [ -z "`use gnome`" ] ; then + myconf="--without-guessing" + fi + perl Makefile.PL ${myconf} + make || die +} + +src_install() { + make \ + PREFIX=${D}/usr \ + INSTALLMAN3DIR=${D}/usr/share/man/man3 \ + install || die + + eval `perl '-V:installarchlib'` + sed -e "s:${D}::g" \ + ${D}/${installarchlib}/perllocal.pod > ${D}/${installarchlib}/gtk.pod + + rm -f ${D}/${installarchlib}/perllocal.pod + + dodoc ChangeLog MANIFEST NOTES README VERSIONS WARNING +} + +pkg_postinst() { + + eval `perl '-V:installarchlib'` + cat ${installarchlib}/gtk.pod >> ${installarchlib}/perllocal.pod +} |