summaryrefslogtreecommitdiff
path: root/package/microperl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/microperl/Makefile')
-rw-r--r--package/microperl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/microperl/Makefile b/package/microperl/Makefile
index ea04c6e2f..359357462 100644
--- a/package/microperl/Makefile
+++ b/package/microperl/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= microperl
PKG_VERSION:= 5.10.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= d2c39b002ebfd2c3c5dba589365c5a71
PKG_DESCR:= Perl without operating-specific functions
PKG_SECTION:= net
@@ -26,8 +26,11 @@ BUILD_STYLE:= auto
MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TCFLAGS}"
MAKE_FILE:= Makefile.micro
+pre-configure:
+ $(CP) ./files/uconfig.h.$(CPU_ARCH) $(WRKBUILD)/uconfig.h
+
do-install:
${INSTALL_DIR} ${IDIR_MICROPERL}/usr/bin
- ${INSTALL_BIN} ${WRKBUILD}/microperl ${IDIR_MICROPERL}/usr/bin/
+ ${INSTALL_BIN} ${WRKBUILD}/microperl ${IDIR_MICROPERL}/usr/bin/perl
include ${TOPDIR}/mk/pkg-bottom.mk