aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/lshw/APKBUILD
blob: e26bbb717f23acc70b9df80281023d263e70a1ca (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
32
33
34
35
36
37
38
39
40
# Contributor: Paul Kilar <pkilar@gmail.com>
# Maintainer: Paul Kilar <pkilar@gmail.com>
pkgname=lshw
pkgver='02.17'
pkgrel=0
pkgdesc="Hardware Lister"
url="http://ezix.org/project/wiki/HardwareLiSter"
arch="all"
license="GPL3+"
depends=""
depends_dev=""
makedepends="sqlite-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://ezix.org/software/files/lshw-B.$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-B.$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

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

md5sums="a5feb796cb302850eaf5b4530888e3ed  lshw-B.02.17.tar.gz"
sha256sums="eb9cc053fa0f1e78685cb695596e73931bfb55d2377e3bc3b8b94aff4c5a489c  lshw-B.02.17.tar.gz"
sha512sums="868899dce98e786a08a2134d6e132c388d71ab0f03fa6e10881e14d7a882c1882b46bbc6bd6ddb021cfab87ad6c9fd369453c3916f0b3353027eb2d470e55d9b  lshw-B.02.17.tar.gz"