|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2015,2016,2017,2019 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2015,2016,2017,2019,2020 Damien Goutte-Gattat |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
# is permitted provided that the following conditions are met: |
|
|
@ -28,7 +28,7 @@ |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-ansible} |
|
|
|
VERSION=${VERSION:-2.9.0} |
|
|
|
VERSION=${VERSION:-2.9.9} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
WGET=${WGET:-http://releases.ansible.com/ansible/$ARCHIVE} |
|
|
|
|
|
|
@ -69,10 +69,6 @@ cd $TMP |
|
|
|
echo "Building $ARCHIVE..." |
|
|
|
tar xf $CWD/$ARCHIVE |
|
|
|
cd $NAME |
|
|
|
# We install the Python modules both for Python 2 and Python 3, |
|
|
|
# but we only install the -3.7 executable scripts. |
|
|
|
python2 setup.py build |
|
|
|
python2 setup.py install --root=$PKG |
|
|
|
python3 setup.py build |
|
|
|
python3 setup.py install --root=$PKG |
|
|
|
|
|
|
|