23 lines
361 B
Bash
23 lines
361 B
Bash
|
source "$PKG_COMMON"
|
||
|
|
||
|
configure()
|
||
|
{
|
||
|
cd "$pkg_build_dir" &&
|
||
|
"../util-linux-$version/configure" \
|
||
|
--prefix="$cfg_dir_toolchain" \
|
||
|
--disable-wall \
|
||
|
--enable-static \
|
||
|
--disable-shared \
|
||
|
--without-ncurses
|
||
|
}
|
||
|
|
||
|
build()
|
||
|
{
|
||
|
$cmd_make -C "$pkg_build_dir"
|
||
|
}
|
||
|
|
||
|
target_install()
|
||
|
{
|
||
|
$cmd_make -C "$pkg_build_dir" install
|
||
|
}
|