mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/dpkt: Updated for version 1.9.7.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c9bd188e06
commit
7ee598d4f6
2 changed files with 10 additions and 10 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Slackware build script for dpkt
|
||||
|
||||
#
|
||||
# Written by Vincent Batts, vbatts@hashbangbash.com
|
||||
|
||||
#
|
||||
# Copyright 2014
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -23,13 +23,13 @@
|
|||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# 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.8 January 2017, Barry J. Grundy.
|
||||
#
|
||||
# Updated for version 1.9.7.2 by Barry Grundy - May 2022
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=dpkt
|
||||
VERSION=${VERSION:-1.8.8}
|
||||
VERSION=${VERSION:-1.9.7.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -83,13 +83,13 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
|
||||
-o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS CHANGES LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="dpkt"
|
||||
VERSION="1.8.8"
|
||||
VERSION="1.9.7.2"
|
||||
HOMEPAGE="https://github.com/kbandla/dpkt"
|
||||
DOWNLOAD="https://github.com/kbandla/dpkt/archive/v1.8.8/dpkt-1.8.8.tar.gz"
|
||||
MD5SUM="7b3e5de66847c4c09a4582a195212ff8"
|
||||
DOWNLOAD="https://github.com/kbandla/dpkt/archive/v1.9.7.2/dpkt-1.9.7.2.tar.gz"
|
||||
MD5SUM="8f9bf3f16c01cae99223ae71117022fb"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue