x86info: fix source site down, fix build, move man pages to share

This commit is contained in:
Danny Rawlins 2019-12-29 20:20:17 +11:00
parent e4d7091da8
commit b2d7fbfb83
3 changed files with 12 additions and 9 deletions

View File

@ -3,4 +3,7 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/x86info
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/x86info.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/x86info.1.gz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF32dn/EoAoGYwaZ1SgXc0mhiOpJtIm49cYFPkb1XhhUhUmDp+JvGqD/W7deeMAg8gRtthZXxPO34HuTSDOpyJ8QE=
SHA256 (Pkgfile) = bdb850b9c4057923b3d325e045ca79a341004da092336e47658f1e5a35fa5f47
SHA256 (.footprint) = d7c91bd9c646ad598d87d1b0de3c7038ad9f821f1576bc433b37dfcbfd93a7bb
SHA256 (x86info-1.30.tgz) = fe3009850e93a9c5fa38ed6bf74d72686043329fead8f1b2be4b5943d4fc9428
RWSagIOpLGJF3yPculABaC0ol8GNnpQmycPBUY4Jy/ZWfwzEsIfxpTwCnAboY1mXDNuKwP2/eWmmw/7Q+VxQoqsjCVUcgr3sGgU=
SHA256 (Pkgfile) = 4c16088754e9735e229f4711352caa02570b3900dddd1157067d9d3127319a47
SHA256 (.footprint) = 585e49b1e64a494032fb8f17c8e1ed9d1da7dfc102fae35b71ac1584add86464
SHA256 (x86info_1.30.orig.tar.gz) = fe3009850e93a9c5fa38ed6bf74d72686043329fead8f1b2be4b5943d4fc9428

View File

@ -1,18 +1,18 @@
# Description: In-depth CPU information tool.
# URL: http://www.codemonkey.org.uk/projects/x86info/
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: James Mills, prologic at shortcircuit dot net dot au
# Depends on:
# Depends on: python
name=x86info
version=1.30
release=1
source=(http://codemonkey.org.uk/projects/$name/$name-$version.tgz)
source=(https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/x86info/1.30-3/x86info_$version.orig.tar.gz)
build() {
cd $name-$version
sed -e 's/-Werror //' -i Makefile
make
mkdir -p $PKG/usr/{bin,man/man1}
install -D -m755 -oroot -groot $name $PKG/usr/bin/$name
install -D -m644 -oroot -groot $name.1 $PKG/usr/man/man1/$name.1
install -D -m644 -oroot -groot $name.1 $PKG/usr/share/man/man1/$name.1
}