summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Krotkine <dams@gentoo.org>2003-04-11 15:57:22 +0000
committerDamien Krotkine <dams@gentoo.org>2003-04-11 15:57:22 +0000
commit6b88e48d8f30cb9ff5b04daa199ca697623daf2c (patch)
treefddd8fe64a6e8b6f127bdb7467dbf9cda2732b2f /dev-perl/perl-MDK-Common
parentfixed policy dir (diff)
downloadgentoo-2-6b88e48d8f30cb9ff5b04daa199ca697623daf2c.tar.gz
gentoo-2-6b88e48d8f30cb9ff5b04daa199ca697623daf2c.tar.bz2
gentoo-2-6b88e48d8f30cb9ff5b04daa199ca697623daf2c.zip
added perl-MDK-Common
Diffstat (limited to 'dev-perl/perl-MDK-Common')
-rw-r--r--dev-perl/perl-MDK-Common/files/digest-perl-MDK-Common-1.0.41
-rw-r--r--dev-perl/perl-MDK-Common/files/perl-MDK-Common-1.0.4.patch29
-rw-r--r--dev-perl/perl-MDK-Common/perl-MDK-Common-1.0.4.ebuild27
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-perl/perl-MDK-Common/files/digest-perl-MDK-Common-1.0.4 b/dev-perl/perl-MDK-Common/files/digest-perl-MDK-Common-1.0.4
new file mode 100644
index 000000000000..940642f8aa7d
--- /dev/null
+++ b/dev-perl/perl-MDK-Common/files/digest-perl-MDK-Common-1.0.4
@@ -0,0 +1 @@
+MD5 d6030bd4343861ae6b9de2a85b064ad8 perl-MDK-Common-1.0.4.tar.bz2 77615
diff --git a/dev-perl/perl-MDK-Common/files/perl-MDK-Common-1.0.4.patch b/dev-perl/perl-MDK-Common/files/perl-MDK-Common-1.0.4.patch
new file mode 100644
index 000000000000..f09dc2543ed1
--- /dev/null
+++ b/dev-perl/perl-MDK-Common/files/perl-MDK-Common-1.0.4.patch
@@ -0,0 +1,29 @@
+--- Makefile 29 Jan 2003 14:54:52 -0000 1.12
++++ Makefile 8 Apr 2003 13:51:59 -0000
+@@ -7,11 +7,11 @@
+ VENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib)
+ INSTALLVENDORLIB = $(shell echo $(VENDORLIB) | sed 's,/usr,$(PREFIX),')
+
+-GENERATED = MDK/Common.pm index.html perl_checker.src/perl_checker
++GENERATED = MDK/Common.pm index.html #perl_checker.src/perl_checker
+
+ .PHONY: perl_checker.src
+
+-all: $(GENERATED) test
++all: $(GENERATED) #test
+
+ index.html: MDK/Common.pm
+ pod2html $< > $@
+@@ -32,10 +32,10 @@
+
+ install: clean all
+ install -d $(BINDIR) $(INSTALLVENDORLIB)/MDK/Common
+- install perl_checker.src/perl_checker $(BINDIR)
++# install perl_checker.src/perl_checker $(BINDIR)
+ install -m 644 MDK/Common.pm $(INSTALLVENDORLIB)/MDK
+ install -m 644 MDK/Common/*.pm $(INSTALLVENDORLIB)/MDK/Common
+- cp -r perl_checker_fake_packages $(INSTALLVENDORLIB)
++# cp -r perl_checker_fake_packages $(INSTALLVENDORLIB)
+
+ rpm: update tar build commit
+
diff --git a/dev-perl/perl-MDK-Common/perl-MDK-Common-1.0.4.ebuild b/dev-perl/perl-MDK-Common/perl-MDK-Common-1.0.4.ebuild
new file mode 100644
index 000000000000..a616f26272cd
--- /dev/null
+++ b/dev-perl/perl-MDK-Common/perl-MDK-Common-1.0.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2002 damien krotkine <dams@gentoo.org>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-MDK-Common/perl-MDK-Common-1.0.4.ebuild,v 1.1 2003/04/11 15:56:50 dams Exp $
+
+inherit perl-module
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Common useful perl functions"
+SRC_URI="http://www2.damz.net/files/${P}.tar.bz2"
+HOMEPAGE="http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/perl-MDK-Common/"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+SLOT="0"
+
+DEPEND="dev-lang/ocaml
+ dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}.patch || die
+}
+
+src_compile() {
+ cd ${S}
+ emake || die
+}