network/packETH: Updated for version 3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
52d3d015d3
commit
68712c072c
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=packETH
|
||||
VERSION=${VERSION:-2.1}
|
||||
VERSION=${VERSION:-3.0}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -106,7 +103,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 COPYING CHANGELOG INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING CHANGELOG README $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="packETH"
|
||||
VERSION="2.1"
|
||||
VERSION="3.0"
|
||||
HOMEPAGE="https://github.com/jemcek/packETH"
|
||||
DOWNLOAD="https://github.com/jemcek/packETH/archive/2.1/packETH-2.1.tar.gz"
|
||||
MD5SUM="31f72ebe0ff6ae0398d4e0abc04eaa34"
|
||||
DOWNLOAD="https://github.com/jemcek/packETH/archive/3.0/packETH-3.0.tar.gz"
|
||||
MD5SUM="04cb7a1cff7e64e3dbcc8e050de6e030"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue