mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/thermald: improve abuild, remove useless systemd config
This commit is contained in:
parent
2a9ec6be77
commit
eac46e4fe7
@ -1,6 +1,7 @@
|
||||
# Contributor: mellotron <mellotron@tutanota.com>
|
||||
# Maintainer:
|
||||
pkgname=thermald
|
||||
_pkgname=thermal_daemon
|
||||
pkgver=1.5.3
|
||||
pkgrel=0
|
||||
pkgdesc="Thermal daemon for IA"
|
||||
@ -8,16 +9,15 @@ url="https://github.com/01org/thermal_daemon"
|
||||
arch="all"
|
||||
license="GPL2"
|
||||
depends=""
|
||||
depends_dev=""
|
||||
makedepends="autoconf automake libtool dbus-glib-dev libxml2-dev linux-headers"
|
||||
install=""
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/01org/thermal_daemon/archive/v$pkgver.tar.gz
|
||||
thermald.initd"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/01org/$_pkgname/archive/v$pkgver.tar.gz
|
||||
thermald.initd"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
builddir="$srcdir/thermal_daemon-$pkgver"
|
||||
build() {
|
||||
cd "$builddir"
|
||||
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
@ -32,12 +32,14 @@ build() {
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
rm -rf "$pkgdir"/etc/init/
|
||||
rm -rf "$pkgdir"/etc/init/ "$pkgdir"/etc/dbus-1
|
||||
|
||||
install -m755 -D "$srcdir"/$pkgname.initd \
|
||||
"$pkgdir"/etc/init.d/$pkgname || return 1
|
||||
}
|
||||
|
||||
md5sums="66402236ed3c86a798029cb4d5313817 thermald-1.5.3.tar.gz
|
||||
a1e252054ecdc987cf641df912b9a220 thermald.initd"
|
||||
sha256sums="e20b450ef27a5b5e45474c831663c8f5ecd14c82ace5a4b1e06c442e0a23b53e thermald-1.5.3.tar.gz
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user