summaryrefslogtreecommitdiffstats
path: root/main/dmidecode/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-04-21 20:02:35 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-04-21 20:02:35 +0200
commitf1dae0f608d680f6b839eb12e4e8c3ed69ee416f (patch)
treedf719283aea9e2194b221ca2bcdadd3c8330f408 /main/dmidecode/APKBUILD
parentcedc08a9a8991fcd144f51afc0cce3f3cc562d32 (diff)
downloadaports-f1dae0f608d680f6b839eb12e4e8c3ed69ee416f.tar.bz2
aports-f1dae0f608d680f6b839eb12e4e8c3ed69ee416f.tar.xz
main/dmidecode: upgrade to 2.12
- replace hardcoded -O2 with -Os in Makefile
Diffstat (limited to 'main/dmidecode/APKBUILD')
-rw-r--r--main/dmidecode/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/dmidecode/APKBUILD b/main/dmidecode/APKBUILD
index 890d968b9..6ec5d238f 100644
--- a/main/dmidecode/APKBUILD
+++ b/main/dmidecode/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=dmidecode
-pkgver=2.11
+pkgver=2.12
pkgrel=0
pkgdesc="A utility for reporting system hardware as described by BIOS"
url="http://www.nongnu.org/dmidecode"
@@ -21,7 +21,7 @@ prepare() {
msg "Applying $i"
patch -p1 -i "$i" || return 1
done
- sed '/^PROGRAMS !=/d' -i Makefile
+ sed -e '/^PROGRAMS !=/d' -e 's/-O2/-Os/' -i Makefile || return 1
}
build() {
@@ -34,4 +34,6 @@ package() {
make prefix=/usr DESTDIR="${pkgdir}" install
}
-md5sums="9fddbbc3e330bee5950b8b5d424a57cb dmidecode-2.11.tar.gz"
+md5sums="02ee243e1ecac7fe0d04428aec85f63a dmidecode-2.12.tar.gz"
+sha256sums="5a8214b99c1762f4510bd92baa279336e5fed6e5cd2e418d46d95a4ecc783922 dmidecode-2.12.tar.gz"
+sha512sums="8203ca9620f9efca21e7efd9e6c5a6bb83d8b23bdd1b20923a5f83209d94685a1bca3c92474c22d12ac2aaef4bbc074d4dc9236e2fd93a36ebf3cc66c0dfdd73 dmidecode-2.12.tar.gz"