2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=ftp
://ftp.cpan.org
/pub
/CPAN
/src
/5.0 \
18 ftp
://ftp.mpi-sb.mpg.de
/pub
/perl
/CPAN
/src
/5.0 \
19 ftp
://ftp.gmd.de
/mirrors
/CPAN
/src
/5.0 \
20 ftp
://ftp.funet.fi
/pub
/languages
/perl
/CPAN
/src
/5.0
21 PKG_MD5SUM
:=8d4aa4e061fd5bc0c39e4f0a63267880
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/microperl
29 TITLE
:=A really minimal perl
30 DESCRIPTION
:=A really minimal perl.
\\\
31 A perl package without operating-specific functions such
as readdir.
32 URL
:=http
://www.perl.com
/
35 define Build
/Configure
39 $(MAKE
) -C
$(PKG_BUILD_DIR
) -f Makefile.micro \
40 CC
="$(TARGET_CC)" OPTIMIZE
="$(TARGET_CFLAGS)"
43 define Package
/microperl
/install
44 install -d
-m0755
$(1)/usr
/bin
45 install -m0755
$(PKG_BUILD_DIR
)/microperl
$(1)/usr
/bin
/
48 $(eval
$(call BuildPackage
,microperl
))