aboutsummaryrefslogtreecommitdiffstats
path: root/perl/perl_5.8.3.oe
blob: 18e7fa15a51e366eda99d6dab60217e861b3f00b (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
DESCRIPTION = "Perl is a popular scripting language."
SECTION = "developing"
PRIORITY = "optional"
DEPENDS = "db3 perl-native"
SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz"

FILES_${PN} += "${libdir}/perl5"

do_configure() {
	cd Cross
	oe_runmake patch
}

do_compile() {
	cd Cross
	oe_runmake perl
}

do_install() {
	rm -rf install_me_here
	make install
	mv install_me_here/* ${D}
	rmdir install_me_here
}

do_stage() {
	install -d ${STAGING_DIR}/${HOST_SYS}/perl/
	install config.sh ${STAGING_DIR}/${HOST_SYS}/perl/
}