summaryrefslogtreecommitdiff
path: root/package/perl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-16 13:05:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-16 13:05:46 +0200
commitafab289b265ff987c3f62393b3ef707c2650704f (patch)
treee4145c43758117b6c9c372a89cbb8ad34e6fb7fe /package/perl
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
add some native build fixes (tested on Lemote notebook)
- enable busybox applets needed for natvie builds - add header packages for expat and libnl - remove rtl8187b driver, use kernel included driver (needs more testing)
Diffstat (limited to 'package/perl')
-rw-r--r--package/perl/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/package/perl/Makefile b/package/perl/Makefile
index f666c76fc..78f680a47 100644
--- a/package/perl/Makefile
+++ b/package/perl/Makefile
@@ -4,16 +4,13 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= perl
-PKG_VERSION:= 5.10.0
+PKG_VERSION:= 5.12.2
PKG_RELEASE:= 1
-PKG_MD5SUM:= d2c39b002ebfd2c3c5dba589365c5a71
-PKG_DESCR:= Perl without operating-specific functions
+PKG_MD5SUM:= af2df531d46b77fdf0d97eecb03eddb2
+PKG_DESCR:= full-blown Perl
PKG_SECTION:= lang
-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/
+PKG_URL:= http://www.perl.org/
+PKG_SITES:= http://www.cpan.org/src/
CFLINE_PERL:= depends on ADK_NATIVE
@@ -22,16 +19,13 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
-INSTALL_STYLE:= manual
pre-configure:
- (cd ${WRKBUILD}; ./Configure -des -Dcc=gcc);
+ (cd ${WRKBUILD}; ./Configure -des -Dcc=gcc -Dprefix=/usr);
-do-install:
+post-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}
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/perl ${IDIR_PERL}/usr/bin/perl
include ${TOPDIR}/mk/pkg-bottom.mk