lzo: added default rule.

This commit is contained in:
Ricardo Martins 2015-09-04 17:46:37 +01:00
parent 8aaf72cd19
commit 21afcd8566
3 changed files with 40 additions and 19 deletions

19
rules/lzo/common.bash Normal file
View File

@ -0,0 +1,19 @@
version=\
(
'2.09'
)
url=\
(
"http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz"
)
md5=\
(
'c7ffc9a103afe2d1bba0b015e7aa887f'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)

20
rules/lzo/default.bash Normal file
View File

@ -0,0 +1,20 @@
. "$pkg_common"
configure()
{
./configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}

View File

@ -1,22 +1,4 @@
version=\
(
'2.03'
)
url=\
(
"http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz"
)
md5=\
(
'0c3d078c2e8ea5a88971089a2f02a726'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
. "$pkg_common"
configure()
{