summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/Makefile3
-rw-r--r--package/busybox/config/coreutils/Config.in4
-rw-r--r--package/perl/Config.in8
-rw-r--r--package/perl/Makefile34
5 files changed, 47 insertions, 3 deletions
diff --git a/package/Config.in b/package/Config.in
index 4a9c4ea38..b5523f8bc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -375,6 +375,7 @@ source "package/lua/Config.in"
source "package/m4/Config.in"
source "package/make/Config.in"
source "package/microperl/Config.in"
+source "package/perl/Config.in"
source "package/php/Config.in"
source "package/python/Config.in"
source "package/ruby/Config.in"
diff --git a/package/Makefile b/package/Makefile
index 401780da6..424c7493b 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -307,6 +307,7 @@ package-$(ADK_PACKAGE_PARPROUTED) += parprouted
package-$(ADK_PACKAGE_PATCH) += patch
package-$(ADK_PACKAGE_PCIUTILS) += pciutils
package-$(ADK_COMPILE_PCRE) += pcre
+package-$(ADK_PACKAGE_PERL) += perl
package-$(ADK_COMPILE_PHP) += php
package-$(ADK_PACKAGE_PICOCOM) += picocom
package-$(ADK_PACKAGE_PIPACS) += pipacs
@@ -471,7 +472,7 @@ $(TARGET_DIR):
%-compile:
$(START_TRACE) "package/$(patsubst %-compile,%,$@)-compile: "
- $(MAKE) -C $(patsubst %-compile,%,$@) fake build-all-ipkgs
+ $(MAKE) -C $(patsubst %-compile,%,$@) fake build-all-pkgs
$(CMD_TRACE) " done"
$(END_TRACE)
diff --git a/package/busybox/config/coreutils/Config.in b/package/busybox/config/coreutils/Config.in
index dc0ab5fdb..697bec0ea 100644
--- a/package/busybox/config/coreutils/Config.in
+++ b/package/busybox/config/coreutils/Config.in
@@ -67,7 +67,7 @@ config BUSYBOX_CKSUM
config BUSYBOX_COMM
bool "comm"
- default n
+ default y
help
comm is used to compare two files line by line and return
a three-column output.
@@ -557,7 +557,7 @@ config BUSYBOX_FEATURE_SORT_BIG
config BUSYBOX_SPLIT
bool "split"
- default n
+ default y
help
split a file into pieces.
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