- Update to boost-1.33.0
- Simplified PYTHON_VERSION by Philipp Thomas <pth@suse.de> -
This commit is contained in:
parent
78bcf4ad26
commit
2dd8b29ee0
19
Makefile
19
Makefile
@ -1,6 +1,15 @@
|
|||||||
# Makefile for source rpm: boost
|
# Top level Makefile for module boost
|
||||||
# $Id$
|
all : CVS/Root common-update
|
||||||
NAME := boost
|
@cvs update
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
include ../common/Makefile.common
|
common-update : common
|
||||||
|
@cd common && cvs update
|
||||||
|
|
||||||
|
common : CVS/Root
|
||||||
|
@cvs checkout common
|
||||||
|
|
||||||
|
CVS/Root :
|
||||||
|
@echo "ERROR: This does not look like a CVS checkout" && exit 1
|
||||||
|
|
||||||
|
clean :
|
||||||
|
@find . -type f -name *~ -exec rm -fv {} \;
|
||||||
|
@ -51,7 +51,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
(cd tools/build/jam_src && ./build.sh)
|
(cd tools/build/jam_src && ./build.sh)
|
||||||
#build boost with bjam
|
#build boost with bjam
|
||||||
BJAM=`find tools/build/jam_src/ -name bjam -a -type f`
|
BJAM=`find tools/build/jam_src/ -name bjam -a -type f`
|
||||||
#PYTHON_VERSION=`python -V 2>&1 |sed 's,.* \([0-9]\.[0-9]\)\(\.[0-9]\)\?.*,\1,'`
|
|
||||||
PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
|
PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
|
||||||
PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION"
|
PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION"
|
||||||
#$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release <dllversion>1" stage
|
#$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release <dllversion>1" stage
|
||||||
|
Loading…
Reference in New Issue
Block a user