blob: 16b6ec5995876481a8880bd19beb80a6df950787 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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:= perl
PKG_VERSION:= 5.12.2
PKG_RELEASE:= 2
PKG_MD5SUM:= 20781ca125fb6346bb343a15e082d127
PKG_DESCR:= full-blown Perl
PKG_SECTION:= lang
PKG_URL:= http://www.perl.org/
PKG_SITES:= http://www.cpan.org/src/
PKG_CFLINE_PERL:= depends on ADK_NATIVE
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
pre-configure:
(cd ${WRKBUILD}; ./Configure -des -Dcc=gcc -Dprefix=/usr -A ccflags="${TARGET_CFLAGS}");
post-install:
${INSTALL_DIR} ${IDIR_PERL}/usr/bin
${INSTALL_DIR} ${IDIR_PERL}/usr/lib/perl5/${PKG_VERSION}
${CP} ${WRKINST}/usr/lib/perl5/${PKG_VERSION}/* \
${IDIR_PERL}/usr/lib/perl5/${PKG_VERSION}
${INSTALL_BIN} ${WRKINST}/usr/bin/perl ${IDIR_PERL}/usr/bin/perl
include ${TOPDIR}/mk/pkg-bottom.mk
|