lm-sensors: switch to build_style=gnu-makefile.
This commit is contained in:
parent
6e8eacdaae
commit
c708f96ac2
1 changed files with 5 additions and 12 deletions
|
@ -1,9 +1,11 @@
|
||||||
# Template file for 'lm-sensors'
|
# Template file for 'lm-sensors'
|
||||||
pkgname=lm-sensors
|
pkgname=lm-sensors
|
||||||
version=3.3.4
|
version=3.3.4
|
||||||
revision=3
|
revision=4
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_install_args="PREFIX=/usr MANDIR=/usr/share/man"
|
||||||
wrksrc="lm_sensors-${version}"
|
wrksrc="lm_sensors-${version}"
|
||||||
hostmakedepends="which flex perl"
|
hostmakedepends="flex perl"
|
||||||
depends="perl"
|
depends="perl"
|
||||||
conf_files="/etc/sensors3.conf"
|
conf_files="/etc/sensors3.conf"
|
||||||
short_desc="Utilities to read temperature/voltage/fan sensors"
|
short_desc="Utilities to read temperature/voltage/fan sensors"
|
||||||
|
@ -14,24 +16,15 @@ update_pkgname="lm_sensors"
|
||||||
distfiles="http://dl.lm-sensors.org/$pkgname/releases/lm_sensors-$version.tar.bz2"
|
distfiles="http://dl.lm-sensors.org/$pkgname/releases/lm_sensors-$version.tar.bz2"
|
||||||
checksum=b4608610cb5de4b24e3fe1ae357712e8633a8a929bbb42df5eecc4ccee6ba76d
|
checksum=b4608610cb5de4b24e3fe1ae357712e8633a8a929bbb42df5eecc4ccee6ba76d
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=/usr ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make PREFIX=/usr MANDIR=/usr/share/man DESTDIR=${DESTDIR} install
|
|
||||||
}
|
|
||||||
|
|
||||||
libsensors_package() {
|
libsensors_package() {
|
||||||
short_desc="Library to read temperature/voltage/fan sensors"
|
short_desc="Library to read temperature/voltage/fan sensors"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libsensors-devel_package() {
|
libsensors-devel_package() {
|
||||||
depends="libsensors>=${version}_${revision}"
|
depends="libsensors>=${version}_${revision}"
|
||||||
short_desc="lm-sensors development kit"
|
short_desc="Library to read temperature/voltage/fan sensors - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue