summaryrefslogtreecommitdiff
path: root/package/microperl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/microperl
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/microperl')
-rw-r--r--package/microperl/Makefile12
-rw-r--r--package/microperl/ipkg/microperl.control4
-rw-r--r--package/microperl/patches/patch-Makefile_micro15
3 files changed, 23 insertions, 8 deletions
diff --git a/package/microperl/Makefile b/package/microperl/Makefile
index 32d6a924d..8ac27e660 100644
--- a/package/microperl/Makefile
+++ b/package/microperl/Makefile
@@ -6,19 +6,23 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= microperl
-PKG_VERSION:= 5.8.6
+PKG_VERSION:= 5.10.0
PKG_RELEASE:= 1
-PKG_MD5SUM:= 8d4aa4e061fd5bc0c39e4f0a63267880
-MASTER_SITES:= ftp://ftp.cpan.org/pub/CPAN/src/5.0/ \
+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/
+
DISTFILES:= perl-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/perl-${PKG_VERSION}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,MICROPERL,microperl,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,MICROPERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
BUILD_STYLE:= auto
MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TCFLAGS}"
diff --git a/package/microperl/ipkg/microperl.control b/package/microperl/ipkg/microperl.control
deleted file mode 100644
index 4e54b6326..000000000
--- a/package/microperl/ipkg/microperl.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: microperl
-Priority: optional
-Section: net
-Description: Perl without operating-specific functions such as readdir.
diff --git a/package/microperl/patches/patch-Makefile_micro b/package/microperl/patches/patch-Makefile_micro
new file mode 100644
index 000000000..47e8fccc0
--- /dev/null
+++ b/package/microperl/patches/patch-Makefile_micro
@@ -0,0 +1,15 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- perl-5.10.0.orig/Makefile.micro 2007-12-18 11:47:07.000000000 +0100
++++ perl-5.10.0/Makefile.micro 2009-05-30 11:47:02.610977016 +0200
+@@ -177,9 +177,9 @@ uudmap.h: generate_uudmap$(_X)
+ $(RUN) ./generate_uudmap$(_X) >uudmap.h
+
+ generate_uudmap$(_O): generate_uudmap.c
+- $(CC) $(CCFLAGS) -o $@ $(CFLAGS) generate_uudmap.c
++ $(HOSTCC) $(CCFLAGS) -o $@ $(HOSTCFLAGS) generate_uudmap.c
+
+ generate_uudmap$(_X): generate_uudmap$(_O)
+- $(LD) -o generate_uudmap $(LDFLAGS) generate_uudmap$(_O) $(LIBS)
++ $(HOSTCC) -o generate_uudmap $(HOSTLDFLAGS) generate_uudmap$(_O) $(LIBS)
+
+ # That's it, folks!