summaryrefslogtreecommitdiff
path: root/repo/dmidecode/dmidecode.xibuild
blob: e246175bb6ecfc7a9fdd46aa47c4082197145884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="dmidecode"
DESC="A utility for reporting system hardware as described by BIOS"

MAKEDEPS=""

PKG_VER=3.4
SOURCE="https://download.savannah.gnu.org/releases/dmidecode/dmidecode-$PKG_VER.tar.xz"

prepare() {
	apply_patches
	sed -e '/^PROGRAMS !=/d' -e 's/-O2/-Os/' -i Makefile
}

build() {
	make prefix=/usr
}

package() {
	make prefix=/usr DESTDIR="$PKG_DEST" install
}