2012-06-23 20:29:02 +10:00
|
|
|
# Description: Software construction tool.
|
2020-07-10 23:30:11 +10:00
|
|
|
# URL: https://www.scons.org/
|
2023-03-10 17:59:18 +01:00
|
|
|
# Maintainer: unmaintained
|
2020-07-10 23:30:11 +10:00
|
|
|
# Depends on: python3-setuptools
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=scons
|
2022-08-21 10:43:16 +02:00
|
|
|
version=4.4.0
|
2008-12-21 18:46:30 +01:00
|
|
|
release=1
|
2020-07-10 23:30:11 +10:00
|
|
|
source=(https://github.com/SCons/scons/archive/$version/$name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2006-03-27 11:11:15 +00:00
|
|
|
build() {
|
2006-02-23 15:26:10 +00:00
|
|
|
cd $name-$version
|
2006-03-27 11:11:15 +00:00
|
|
|
|
2021-01-30 18:01:23 +11:00
|
|
|
# manpage install is completely broken
|
2021-10-24 23:10:50 +11:00
|
|
|
sed -e 's/bdist_wheel/bdist/g' -i SConstruct
|
|
|
|
/usr/bin/python3 scripts/scons.py --include-dir= -j1
|
|
|
|
cp -av build/doc/man/* .
|
2021-01-30 18:01:23 +11:00
|
|
|
|
2020-02-02 11:41:29 +11:00
|
|
|
/usr/bin/python3 setup.py build
|
2021-01-30 18:01:23 +11:00
|
|
|
/usr/bin/python3 setup.py install --root=$PKG --skip-build --optimize=1 \
|
2021-10-24 23:10:50 +11:00
|
|
|
--install-data=/usr/share/man/man1/
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|