build 363 Bytes
Newer Older
gsell's avatar
gsell committed
1
#!/usr/bin/env modbuild
gsell's avatar
gsell committed
2

gsell's avatar
gsell committed
3
pbuild::configure() {
gsell's avatar
gsell committed
4 5 6
	:
}

gsell's avatar
gsell committed
7
pbuild::build() {
8
        cd "${MODULE_SRCDIR}"
gsell's avatar
gsell committed
9 10 11 12

	make -j ${JOBS}
}

gsell's avatar
gsell committed
13
pbuild::install() {
14
        cd "${MODULE_SRCDIR}"
gsell's avatar
gsell committed
15 16 17 18
	mkdir -p ${PREFIX}/bin
	install -m 0755 fsstress "${PREFIX}/bin"
}

gsell's avatar
gsell committed
19 20 21 22
#pbuild::supported_os 'Linux'
pbuild::add_to_group 'System'
pbuild::set_build_dependencies "${COMPILER}"
pbuild::make_all