mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 06:32:36 +01:00
31 lines
783 B
Plaintext
31 lines
783 B
Plaintext
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
|
|
pkgname=dmidecode
|
|
pkgver=3.2
|
|
pkgrel=0
|
|
pkgdesc="A utility for reporting system hardware as described by BIOS"
|
|
url="http://www.nongnu.org/dmidecode"
|
|
arch="all"
|
|
license="GPL"
|
|
options="!check"
|
|
subpackages="$pkgname-doc"
|
|
source="https://download.savannah.gnu.org/releases/dmidecode/dmidecode-$pkgver.tar.xz"
|
|
|
|
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="b080c73fbda756109f0f29935c641e0b32ea9ffe90f0a8254164c9c1ff5617d042347298e6bac31e5463e94fa56efe2b2743238156d878254fc77120e6dc1a18 dmidecode-3.2.tar.xz"
|