lzo: added default rule.
This commit is contained in:
parent
8aaf72cd19
commit
21afcd8566
19
rules/lzo/common.bash
Normal file
19
rules/lzo/common.bash
Normal 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
20
rules/lzo/default.bash
Normal 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
|
||||||
|
}
|
@ -1,22 +1,4 @@
|
|||||||
version=\
|
. "$pkg_common"
|
||||||
(
|
|
||||||
'2.03'
|
|
||||||
)
|
|
||||||
|
|
||||||
url=\
|
|
||||||
(
|
|
||||||
"http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz"
|
|
||||||
)
|
|
||||||
|
|
||||||
md5=\
|
|
||||||
(
|
|
||||||
'0c3d078c2e8ea5a88971089a2f02a726'
|
|
||||||
)
|
|
||||||
|
|
||||||
maintainer=\
|
|
||||||
(
|
|
||||||
'Ricardo Martins <rasm@fe.up.pt>'
|
|
||||||
)
|
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user