e2fsprogs: added host rule.
This commit is contained in:
parent
0b43b299e8
commit
0dc888df33
14
rules/e2fsprogs/common.bash
Normal file
14
rules/e2fsprogs/common.bash
Normal file
@ -0,0 +1,14 @@
|
||||
version=\
|
||||
(
|
||||
'1.41.9'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'52f60a9e19a02f142f5546f1b5681927'
|
||||
)
|
@ -1,20 +1,9 @@
|
||||
version=\
|
||||
(
|
||||
'1.41.9'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'52f60a9e19a02f142f5546f1b5681927'
|
||||
)
|
||||
source "$pkg_common"
|
||||
|
||||
configure()
|
||||
{
|
||||
$cmd_make distclean
|
||||
|
||||
export CC=$cmd_target_cc
|
||||
export CROSS_COMPILE=$cfg_target_canonical
|
||||
"../e2fsprogs-$version/configure" \
|
||||
|
22
rules/e2fsprogs/host.bash
Normal file
22
rules/e2fsprogs/host.bash
Normal file
@ -0,0 +1,22 @@
|
||||
source "$pkg_common"
|
||||
|
||||
configure()
|
||||
{
|
||||
$cmd_make distclean
|
||||
|
||||
"../e2fsprogs-$version/configure" \
|
||||
--prefix="$cfg_dir_toolchain" \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--disable-nls
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
Reference in New Issue
Block a user