blob: e6e64bef926aa7d7b8a4a257959ef225ea3e4a21 (
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:= af2df531d46b77fdf0d97eecb03eddb2
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);
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
|