aboutsummaryrefslogtreecommitdiff
path: root/python/dpkt/dpkt.SlackBuild
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundy@linuxleo.com>2017-01-22 07:15:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-24 07:22:54 +0700
commit5a30ea2f19ff01c0563dafd40bfae9dad6e7f703 (patch)
treeba16cfac7802ce11a534d2f130343966644b7570 /python/dpkt/dpkt.SlackBuild
parent456ae06c87c4985ded314976290adbb5d06e05c5 (diff)
python/dpkt: Updated for version 1.8.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/dpkt/dpkt.SlackBuild')
-rw-r--r--python/dpkt/dpkt.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/dpkt/dpkt.SlackBuild b/python/dpkt/dpkt.SlackBuild
index 1b2d517029e3c..981fb13379223 100644
--- a/python/dpkt/dpkt.SlackBuild
+++ b/python/dpkt/dpkt.SlackBuild
@@ -24,16 +24,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated for version 1.8 November 2014, new maintainer.
+# Updated for version 1.8.8 January 2017, Barry J. Grundy.
PRGNAM=dpkt
-VERSION=${VERSION:-1.8}
+VERSION=${VERSION:-1.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -79,7 +79,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGES HACKING LICENSE README examples/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install