summaryrefslogtreecommitdiff
path: root/classes/distutils.bbclass
blob: a2b0e2b7704627c864d333df0159a7fa65a7873f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
inherit distutils-base

distutils_do_compile() {
	BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
	${STAGING_BINDIR}/python setup.py build || \
	oefatal "python setup.py build execution failed."
}

distutils_do_install() {
	BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
	${STAGING_BINDIR}/python setup.py install --prefix=${D}/${prefix} --install-data=${D}/${datadir} || \
	oefatal "python setup.py install execution failed."
}

EXPORT_FUNCTIONS do_compile do_install
sing time by 10%Holger Freyther1 2006-10-10Remove MAINTAINER fields from recipes, add MAINTAINER file to replace them.Koen Kooi1 2006-08-31packages/linux: set some more COMPATIBLE_MACHINESKoen Kooi1 2006-05-20base-files, linux-amsdelta-2.6, u-boot: Add support for Amstrad Delta (E3)Jonathan McDowell1