b08979477d
On gentoo systems SCons setup.py tries to install into $(HOST_DIR)/usr/lib64 but SCons looks up for its stuff in $(HOST_DIR)/usr/lib instead hence breaking. Make it install into $(HOST_DIR)/usr/lib by force to avoid the issue, it shouldn't matter on other distributions. Version bumping doesn't fix it. [Peter: wrapped long line] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
18 lines
485 B
Makefile
18 lines
485 B
Makefile
SCONS_VERSION = 2.0.1
|
|
SCONS_SOURCE = scons-$(SCONS_VERSION).tar.gz
|
|
SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION)
|
|
|
|
define HOST_SCONS_BUILD_CMDS
|
|
(cd $(@D); python setup.py build)
|
|
endef
|
|
|
|
define HOST_SCONS_INSTALL_CMDS
|
|
(cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr \
|
|
--install-lib=$(HOST_DIR)/usr/lib/scons-$(SCONS_VERSION))
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|
|
|
|
# variables used by other packages
|
|
SCONS = $(HOST_DIR)/usr/bin/scons
|