i2c-tools: fix source url and mandir location
This commit is contained in:
parent
edda29f57a
commit
582b1361f7
@ -4,16 +4,17 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/decode-dimms
|
||||
-rwxr-xr-x root/root usr/bin/decode-edid
|
||||
-rwxr-xr-x root/root usr/bin/decode-vaio
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man8/
|
||||
-rw-r--r-- root/root usr/man/man8/i2c-stub-from-dump.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/i2cdetect.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/i2cdump.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/i2cget.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/i2cset.8.gz
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/i2c-stub-from-dump
|
||||
-rwxr-xr-x root/root usr/sbin/i2cdetect
|
||||
-rwxr-xr-x root/root usr/sbin/i2cdump
|
||||
-rwxr-xr-x root/root usr/sbin/i2cget
|
||||
-rwxr-xr-x root/root usr/sbin/i2cset
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/i2c-stub-from-dump.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/i2cdetect.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/i2cdump.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/i2cget.8.gz
|
||||
-rw-r--r-- root/root usr/share/man/man8/i2cset.8.gz
|
||||
|
@ -1 +1 @@
|
||||
f15019e559e378c6e9d5d6299a00df21 i2c-tools-3.1.0.tar.bz2
|
||||
7ed75853fe3c3dfd2d0d70d5831abfef V3-1-0.tar.gz
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Description: I2C Tools for Linux
|
||||
# URL: http://www.lm-sensors.org
|
||||
# URL: https://github.com/groeck/i2c-tools
|
||||
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
||||
# Packager: Mikhail Kolesnik, mike at openbunker dot org
|
||||
# Depends on:
|
||||
@ -7,13 +7,14 @@
|
||||
name=i2c-tools
|
||||
version=3.1.0
|
||||
release=1
|
||||
source=(http://dl.lm-sensors.org/$name/releases/$name-$version.tar.bz2)
|
||||
source=(https://github.com/groeck/$name/archive/V${version//./-}.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
sed -i 's|/usr/local|/usr|' Makefile
|
||||
sed -i 's|/share/man|/man|' Makefile
|
||||
make PREFIX=/usr
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/include
|
||||
cd $name-${version//./-}
|
||||
sed -e 's|/usr/local|/usr|g' -i Makefile
|
||||
|
||||
make PREFIX=/usr
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/include
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user