summaryrefslogtreecommitdiff
path: root/package/perl
diff options
context:
space:
mode:
authorLinux User <wbx@linux.(none)>2009-10-01 20:26:05 +0200
committerLinux User <wbx@linux.(none)>2009-10-01 20:26:05 +0200
commit8759fa511c0464efaea926dcb1271c0ca95e4eb6 (patch)
tree525fc96ed62d206153794068a2f43116a095dbbe /package/perl
parent22bb527c786d6631eec13f2328da05437a1e46b5 (diff)
abstract package backend, add perl
Diffstat (limited to 'package/perl')
-rw-r--r--package/perl/Config.in8
-rw-r--r--package/perl/Makefile34
2 files changed, 42 insertions, 0 deletions
diff --git a/package/perl/Config.in b/package/perl/Config.in
new file mode 100644
index 000000000..b71422e20
--- /dev/null
+++ b/package/perl/Config.in
@@ -0,0 +1,8 @@
+config ADK_PACKAGE_PERL
+ prompt "perl.............................. A full blown perl"
+ tristate
+ depends on ADK_NATIVE
+ default n
+ help
+ Complete Perl.
+
diff --git a/package/perl/Makefile b/package/perl/Makefile
new file mode 100644
index 000000000..5500ec9ac
--- /dev/null
+++ b/package/perl/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= perl
+PKG_VERSION:= 5.10.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= d2c39b002ebfd2c3c5dba589365c5a71
+PKG_DESCR:= Perl without operating-specific functions
+PKG_SECTION:= net
+PKG_URL:= www.perl.org
+PKG_SITES:= ftp://ftp.cpan.org/pub/CPAN/src/5.0/ \
+ ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/src/5.0/ \
+ ftp://ftp.gmd.de/mirrors/CPAN/src/5.0/ \
+ ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,PERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+BUILD_STYLE:= auto
+
+pre-configure:
+ (cd ${WRKBUILD}; ./Configure -des -Dcc=gcc);
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_PERL}/usr/bin
+ ${INSTALL_DIR} ${IDIR_PERL}/usr/lib/perl5/${PKG_VERSION}
+ ${INSTALL_BIN} ${WRKBUILD}/perl ${IDIR_PERL}/usr/bin/perl
+ ${INSTALL_DATA} ${WRKBUILD}/lib/strict.pm \
+ ${IDIR_PERL}/usr/lib/perl5/${PKG_VERSION}
+
+include ${TOPDIR}/mk/pkg-bottom.mk