aboutsummaryrefslogtreecommitdiffstats
path: root/community/lshw/APKBUILD
blob: 08345be68bf839df3f086071e09136b2475e1c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Paul Kilar <pkilar@gmail.com>
# Maintainer: Paul Kilar <pkilar@gmail.com>
pkgname=lshw
pkgver='02.17'
pkgrel=2
pkgdesc="Hardware Lister"
url="https://ezix.org/project/wiki/HardwareLiSter"
arch="all"
license="GPL3+"
makedepends="sqlite-dev linux-headers"
subpackages="$pkgname-doc $pkgname-lang"
source="http://ezix.org/software/files/lshw-B.$pkgver.tar.gz
	no-private-uint.patch
	basename-limits-long-bits.patch
	"

builddir="$srcdir"/$pkgname-B.$pkgver

build() {
	cd "$builddir"
	make RPM_OPT_FLAGS=-DNONLS
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="868899dce98e786a08a2134d6e132c388d71ab0f03fa6e10881e14d7a882c1882b46bbc6bd6ddb021cfab87ad6c9fd369453c3916f0b3353027eb2d470e55d9b  lshw-B.02.17.tar.gz
6cd1e4e1e5972bfff2dd159ffc4a1a38157598f993ad927afc70f067496e461c2a25d9721c4773bda6465750b9125f9eb3d89e0b83b1842fafcf552262276da8  no-private-uint.patch
50005efd1f9a77495f5acb36e4d6bbec0a2e22cf8ce3b17f28e6be738bfc1d6943fb9adf38a2414a719df0b8ccb4be2b0f4313e441d77e3e3043b73d30566190  basename-limits-long-bits.patch"