diff options
Diffstat (limited to 'development/viewvc/viewvc.SlackBuild')
-rw-r--r-- | development/viewvc/viewvc.SlackBuild | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/development/viewvc/viewvc.SlackBuild b/development/viewvc/viewvc.SlackBuild index 7993a3cdc3..883c74d375 100644 --- a/development/viewvc/viewvc.SlackBuild +++ b/development/viewvc/viewvc.SlackBuild @@ -23,40 +23,20 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Revision date: 2011/08/08 +# Revision date: 2011/12/28 PRGNAM=viewvc -VERSION=${VERSION:-1.1.11} +VERSION=${VERSION:-1.1.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG |