|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
# Build script for Slackware
|
|
|
|
|
# Copyright (C) 2016 Damien Goutte-Gattat
|
|
|
|
|
# Copyright (C) 2016,2017 Damien Goutte-Gattat
|
|
|
|
|
#
|
|
|
|
|
# Redistribution and use of this script, with or without modifications,
|
|
|
|
|
# is permitted provided that the following conditions are met:
|
|
|
|
@ -27,9 +27,9 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos
|
|
|
|
|
NAMESRC=${NAMESRC:-cffi}
|
|
|
|
|
VERSION=${VERSION:-1.7.0}
|
|
|
|
|
VERSION=${VERSION:-1.10.0}
|
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
|
|
|
|
|
WGET=${WGET:-https://pypi.python.org/packages/83/3c/00b553fd05ae32f27b3637f705c413c4ce71290aa9b4c4764df694e906d9/$ARCHIVE}
|
|
|
|
|
WGET=${WGET:-https://pypi.python.org/packages/5b/b9/790f8eafcdab455bcd3bd908161f802c9ce5adbf702a83aa7712fcc345b7/$ARCHIVE}
|
|
|
|
|
|
|
|
|
|
# Build infos
|
|
|
|
|
NAMEPKG=${NAMEPKG:-python-cffi}
|
|
|
|
@ -74,7 +74,7 @@ if [ ! -r $ARCHIVE ]; then
|
|
|
|
|
wget -c -O $ARCHIVE.part "$WGET"
|
|
|
|
|
mv $ARCHIVE.part $ARCHIVE
|
|
|
|
|
fi
|
|
|
|
|
sha1sum -c $ARCHIVE.sha1
|
|
|
|
|
sha256sum -c $ARCHIVE.sha256
|
|
|
|
|
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
|
|
|
|
|
|
|
|
|
|
# Compile
|
|
|
|
|