summaryrefslogtreecommitdiff
path: root/user/dmidecode/APKBUILD
blob: 4c15ce8b9cbb12e4e0a049944917765df868f61f (plain) (blame)
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
# Maintainer: 
pkgname=dmidecode
pkgver=3.1
pkgrel=1
pkgdesc="Utility for gathering information about system hardware"
url="http://www.nongnu.org/dmidecode"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
subpackages="$pkgname-doc"
source="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-$pkgver.tar.xz
	hpe1.patch
	hpe2.patch
	correctness1.patch
	security1.patch
	security2.patch
	"

build() {
	cd "$builddir"
	make prefix=/usr
}

package() {
	cd "$builddir"
	make prefix=/usr DESTDIR="${pkgdir}" install
}

sha512sums="226557ad5747a2a2eb54a938543373b9ddcff032d330ca3b9a066cc81c0e137028f606ffedc042e0220b523346e2f2f7abb0e4b8b34a8bd173719aa858519de9  dmidecode-3.1.tar.xz
30faca2ef81c925278dc1d027a4a7c19ef7c9fc27d11fdf3647fd4d8cd77f524e1d159b7e7873294ece08228a99dedbdb1913f610de8a3975ce027d0570ace89  hpe1.patch
734e388cc27e89fbaf3a3f5a875c78e04e0dabd92706a9336b504a8be6d3ede72372cc13b860cd32a66d17c8e1cb6a1d881f8fce97d01a28ea299075d0952609  hpe2.patch
43931cce1824908dcc054e82ad5d5389ce76f6dc643b7610a9a87d59ad54ba4816b4ca16b159b7545dd1c462af956b7a1a19752dde369e24f1d10acab8f173ca  correctness1.patch
d377a7ccd809f019568cfce7eaae35cd3eed076c7347779fbc4b2a949ec81abfdd5142dc74ffd740a1b973c3bb49117537dea1e9f590290ee555dd00abc57fc9  security1.patch
89fcf20e883ce92245eeb0136e9c6e04f4f038e582f6a46dc1d4621625137efe558ef2bfc5625b1e1576a5276f81ee4ab45a82209b0e65a0259f937bacee174a  security2.patch"