3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=8d4aa4e061fd5bc0c39e4f0a63267880
10 PKG_SOURCE_URL
:=ftp
://ftp.cpan.org
/pub
/CPAN
/src
/5.0 \
11 ftp
://ftp.mpi-sb.mpg.de
/pub
/perl
/CPAN
/src
/5.0 \
12 ftp
://ftp.gmd.de
/mirrors
/CPAN
/src
/5.0 \
13 ftp
://ftp.funet.fi
/pub
/languages
/perl
/CPAN
/src
/5.0
14 PKG_SOURCE
:=perl-
$(PKG_VERSION
).
tar.gz
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl-
$(PKG_VERSION
)
19 include $(TOPDIR
)/package
/rules.mk
21 $(eval
$(call PKG_template
,MICROPERL
,microperl
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
23 $(PKG_BUILD_DIR
)/.configured
:
26 $(PKG_BUILD_DIR
)/.built
:
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) -f Makefile.micro \
28 CC
="$(TARGET_CC)" OPTIMIZE
="$(TARGET_CFLAGS)"
32 install -d
-m0755
$(IDIR_MICROPERL
)/usr
/bin
33 install -m0755
$(PKG_BUILD_DIR
)/microperl
$(IDIR_MICROPERL
)/usr
/bin
/
34 $(RSTRIP
) $(IDIR_MICROPERL
)
35 $(IPKG_BUILD
) $(IDIR_MICROPERL
) $(PACKAGE_DIR
)