This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/setserial/default.bash
2013-07-13 17:19:22 +01:00

41 lines
671 B
Bash

version=\
(
'2.17'
)
url=\
(
"http://downloads.sourceforge.net/setserial/setserial-$version.tar.gz"
)
md5=\
(
'c4867d72c41564318e0107745eb7a0f2'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
configure()
{
cd ../setserial-$version/ && autoreconf &&
../setserial-$version/configure \
--prefix="$cfg_dir_rootfs/usr" \
--target=$cfg_target_canonical \
--host=$cfg_target_canonical \
--build=$cfg_host_canonical
}
build()
{
$cmd_make
}
target_install()
{
$cmd_target_strip setserial -o $cfg_dir_rootfs/usr/bin/setserial
cp "$cfg_package_spec_dir"/services/setserial "$cfg_dir_rootfs/etc/rc.d"
}