termcap: added host rules.

This commit is contained in:
Ricardo Martins 2014-06-28 13:28:17 +01:00
parent 82e1ada242
commit f065b339fc
3 changed files with 35 additions and 15 deletions

14
rules/termcap/common.bash Normal file
View File

@ -0,0 +1,14 @@
version=\
(
'1.3.1'
)
url=\
(
"ftp://ftp.gnu.org/gnu/termcap/termcap-$version.tar.gz"
)
md5=\
(
'ffe6f86e63a3a29fa53ac645faaabdfa'
)

View File

@ -1,17 +1,4 @@
version=\
(
'1.3.1'
)
url=\
(
"ftp://ftp.gnu.org/gnu/termcap/termcap-$version.tar.gz"
)
md5=\
(
'ffe6f86e63a3a29fa53ac645faaabdfa'
)
source "$pkg_common"
configure()
{

19
rules/termcap/host.bash Normal file
View File

@ -0,0 +1,19 @@
source "$pkg_common"
configure()
{
./configure \
--prefix="$cfg_dir_toolchain" \
--enable-shared \
--disable-nls
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}