Commit 04e6eb3b authored by Leo's avatar Leo
Browse files

main/dmidecode: upgrade to 3.3

parent baf7d7d7
Pipeline #53991 skipped
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=dmidecode
pkgver=3.2
pkgver=3.3
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"
license="GPL-2.0-or-later"
options="!check" # No testsuite
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
sed -e '/^PROGRAMS !=/d' -e 's/-O2/-Os/' -i Makefile
}
build() {
cd "$builddir"
make prefix=/usr
}
package() {
cd "$builddir"
make prefix=/usr DESTDIR="${pkgdir}" install
make prefix=/usr DESTDIR="$pkgdir" install
}
sha512sums="b080c73fbda756109f0f29935c641e0b32ea9ffe90f0a8254164c9c1ff5617d042347298e6bac31e5463e94fa56efe2b2743238156d878254fc77120e6dc1a18 dmidecode-3.2.tar.xz"
sha512sums="dc77f40a7898011cea1b747d4677be2fbe8f52ec6ac460a5656de2f3389eca83bc416d6494acbe759971b5afce37b78f21ab55c34d62b1105b800e31566d1d22 dmidecode-3.3.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment