diff options
Diffstat (limited to 'package/microperl')
-rw-r--r-- | package/microperl/Makefile | 12 | ||||
-rw-r--r-- | package/microperl/ipkg/microperl.control | 4 | ||||
-rw-r--r-- | package/microperl/patches/patch-Makefile_micro | 15 |
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! |