summaryrefslogtreecommitdiff
path: root/repo/dmidecode/dmidecode.xibuild
blob: 1ab518679635c036b75c7390db95971417aec6fd (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.3
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
}