summaryrefslogtreecommitdiff
path: root/package/microperl/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/microperl/Makefile
Initial import
Diffstat (limited to 'package/microperl/Makefile')
-rw-r--r--package/microperl/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/microperl/Makefile b/package/microperl/Makefile
new file mode 100644
index 000000000..6896db6f3
--- /dev/null
+++ b/package/microperl/Makefile
@@ -0,0 +1,31 @@
+# $Id$
+#-
+# 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:= microperl
+PKG_VERSION:= 5.8.6
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 8d4aa4e061fd5bc0c39e4f0a63267880
+MASTER_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},${ARCH}))
+
+BUILD_STYLE:= auto
+MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TCFLAGS}"
+MAKE_FILE:= Makefile.micro
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_MICROPERL}/usr/bin
+ ${INSTALL_BIN} ${WRKBUILD}/microperl ${IDIR_MICROPERL}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk