diff options
author | Graham Forest <vladimir@gentoo.org> | 2003-03-17 08:42:59 +0000 |
---|---|---|
committer | Graham Forest <vladimir@gentoo.org> | 2003-03-17 08:42:59 +0000 |
commit | 79e170343676e806299fa3dcefa9d08ffbac39d9 (patch) | |
tree | e22aafff246f4ee3816209339f78393e73427649 /dev-perl/perlmagick | |
parent | Unmasks (diff) | |
download | gentoo-2-79e170343676e806299fa3dcefa9d08ffbac39d9.tar.gz gentoo-2-79e170343676e806299fa3dcefa9d08ffbac39d9.tar.bz2 gentoo-2-79e170343676e806299fa3dcefa9d08ffbac39d9.zip |
Initial import
Diffstat (limited to 'dev-perl/perlmagick')
-rw-r--r-- | dev-perl/perlmagick/ChangeLog | 11 | ||||
-rw-r--r-- | dev-perl/perlmagick/files/digest-perlmagick-5.5.5.3 | 1 | ||||
-rw-r--r-- | dev-perl/perlmagick/files/perlpatch.diff | 29 | ||||
-rw-r--r-- | dev-perl/perlmagick/perlmagick-5.5.5.3.ebuild | 42 |
4 files changed, 83 insertions, 0 deletions
diff --git a/dev-perl/perlmagick/ChangeLog b/dev-perl/perlmagick/ChangeLog new file mode 100644 index 000000000000..467224fd13f7 --- /dev/null +++ b/dev-perl/perlmagick/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-perl/perlmagick +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/perlmagick/ChangeLog,v 1.1 2003/03/17 08:42:59 vladimir Exp $ + +*perlmagick-5.5.5.3 (17 Mar 2003) + + 17 Mar 2003; Graham Forest <vladimir@gentoo.org> perlmagick-5.5.5.3.ebuild, + files/perlpatch.diff: + Initial import, this has been seperated from the imagemagick build so now it + actually works + diff --git a/dev-perl/perlmagick/files/digest-perlmagick-5.5.5.3 b/dev-perl/perlmagick/files/digest-perlmagick-5.5.5.3 new file mode 100644 index 000000000000..771d7d44f42c --- /dev/null +++ b/dev-perl/perlmagick/files/digest-perlmagick-5.5.5.3 @@ -0,0 +1 @@ +MD5 8670a84eff9468e3312c1844ebe5f6a7 ImageMagick-5.5.5-3.tar.bz2 3480433 diff --git a/dev-perl/perlmagick/files/perlpatch.diff b/dev-perl/perlmagick/files/perlpatch.diff new file mode 100644 index 000000000000..2bd242f378fd --- /dev/null +++ b/dev-perl/perlmagick/files/perlpatch.diff @@ -0,0 +1,29 @@ +--- Makefile.in Fri Aug 9 15:02:07 2002 ++++ Makefile.in.new Tue Aug 13 12:36:23 2002 +@@ -683,12 +683,12 @@ perl-sources: + touch perl-sources + + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@$(PERLMAKEFILE): perl-sources $(PERLMAKEMAKER) +-@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @PERL@ Makefile.PL $(PERL_MAKE_OPTIONS) ++#@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @PERL@ Makefile.PL $(PERL_MAKE_OPTIONS) + + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@install-exec-perl: $(PERLMAKEFILE) + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ ( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' && \ +-@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ $(MAKE) CC='@CC@' install && \ +-@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ $(MAKE) clean && rm -f Makefile.old ) ++@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ $(MAKE) CC='@CC@' install) ++#@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ $(MAKE) clean && rm -f Makefile.old ) + + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@uninstall-exec-perl: $(PERLMAKEFILE) + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ echo "Uninstall not supported for PerlMagick" +@@ -715,8 +715,8 @@ perl-sources: + @WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(MAKE) -f Makefile.aperl CC='@CC@' test + + @WITH_PERL_TRUE@clean-perl: $(PERLMAKEFILE) +-@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(MAKE) CC='@CC@' clean && rm -f Makefile.old PerlMagick +-@WITH_PERL_TRUE@ rm -f perl-sources ++#@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(MAKE) CC='@CC@' clean && rm -f Makefile.old PerlMagick ++#@WITH_PERL_TRUE@ rm -f perl-sources + + @WITH_PERL_TRUE@distclean-perl: clean-perl + diff --git a/dev-perl/perlmagick/perlmagick-5.5.5.3.ebuild b/dev-perl/perlmagick/perlmagick-5.5.5.3.ebuild new file mode 100644 index 000000000000..fbe6d14e033d --- /dev/null +++ b/dev-perl/perlmagick/perlmagick-5.5.5.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/perlmagick/perlmagick-5.5.5.3.ebuild,v 1.1 2003/03/17 08:42:59 vladimir Exp $ + +inherit perl-module +inherit flag-o-matic +replace-flags k6-3 i586 +replace-flags k6-2 i586 +replace-flags k6 i586 + +IUSE="" + +# Left this the same as ImageMagick for the sake of simplicity +MY_PN=ImageMagick +MY_P=${MY_PN}-${PV%.*}-${PV#*.*.*.} +MY_P2=${MY_PN}-${PV%.*} +S=${WORKDIR}/${MY_P2} +DESCRIPTION="A Perl module to harness the powers of ImageMagick" +SRC_URI="http://imagemagick.sourceforge.net/http/${MY_P}.tar.bz2" +HOMEPAGE="http://www.imagemagick.org/" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa" + +DEPEND="=media-gfx/imagemagick-${PV} + >=dev-lang/perl-5" + +src_compile() { + #patch to allow building by perl + patch -p0 < ${FILESDIR}/perlpatch.diff + + cd PerlMagick + perl-module_src_prep + perl-module_src_compile + +} + +src_install() { + cd PerlMagick + perl-module_src_install +} |