mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/lshw: Updated for version B.02.13
This commit is contained in:
parent
a122f30d92
commit
da6032dd39
3 changed files with 13 additions and 4 deletions
6
system/lshw/doinst.sh
Normal file
6
system/lshw/doinst.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
# Written by Iskar Enev <iskar.enev[@]gmail.com>
|
||||
|
||||
PRGNAM=lshw
|
||||
VERSION=B.02.12.01
|
||||
VERSION=B.02.13
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -18,6 +18,8 @@ if [ "$ARCH" = "i486" ]; then
|
|||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -58,6 +60,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="lshw"
|
||||
VERSION="B.02.12.01"
|
||||
VERSION="B.02.13"
|
||||
HOMEPAGE="http://ezix.org/project/wiki/HardwareLiSter"
|
||||
DOWNLOAD="http://ezix.org/software/files/lshw-B.02.12.01.tar.gz"
|
||||
MD5SUM="7aeacdd0b86ae03acbc168d8ecdf6fd6"
|
||||
DOWNLOAD="http://ezix.org/software/files/lshw-B.02.13.tar.gz"
|
||||
MD5SUM="e94c728ed037ca706436b5ef71aa392d"
|
||||
MAINTAINER="Iskar Enev"
|
||||
EMAIL="<iskar.enev[@]gmail.com>"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue