blob: c9f6cc43816c429fbc433d4fae708c526bc70845 (
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
|
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=dmidecode
pkgver=3.0
pkgrel=0
pkgdesc="A utility for reporting system hardware as described by BIOS"
url="http://www.nongnu.org/dmidecode"
arch="all"
license="GPL"
subpackages="$pkgname-doc"
source="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
sed -e '/^PROGRAMS !=/d' -e 's/-O2/-Os/' -i Makefile || return 1
}
build() {
cd "$builddir"
make prefix=/usr
}
package() {
cd "$builddir"
make prefix=/usr DESTDIR="${pkgdir}" install
}
sha512sums="91c70bedee6a16776ae152c0c4522910d40daaea04044582da4d314b711fc37f406dfaecf1549ce1a404295894e36cfc0d5db270cc8d307f83554cba6b83f1c9 dmidecode-3.0.tar.gz"
|