e2fsprogs: added host rule.

This commit is contained in:
Ricardo Martins 2014-06-27 22:37:38 +01:00
parent 0b43b299e8
commit 0dc888df33
3 changed files with 39 additions and 14 deletions

View File

@ -0,0 +1,14 @@
version=\
(
'1.41.9'
)
url=\
(
"http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-$version.tar.gz"
)
md5=\
(
'52f60a9e19a02f142f5546f1b5681927'
)

View File

@ -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
View 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
}