From d02fa39ddbafa3f67b02507df1d02761741a5103 Mon Sep 17 00:00:00 2001 From: Tiago Marques Date: Tue, 16 May 2017 13:57:25 +0100 Subject: [PATCH] rules/lpg: Compile lpg. --- rules/lpg/default.bash | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 rules/lpg/default.bash diff --git a/rules/lpg/default.bash b/rules/lpg/default.bash new file mode 100644 index 0000000..688573a --- /dev/null +++ b/rules/lpg/default.bash @@ -0,0 +1,29 @@ +version=\ +( + "1.2" +) + +url=\ +( + "http://lsts.pt/glued/lpg-$version.tar.gz" +) + +md5=\ +( + "beb0f3b8be474868b074dca66ced5b48" +) + +configure() +{ + ./configure "$cfg_target_canonical-gcc" +} + +build() +{ + $cmd_make +} + +target_install() +{ + $cmd_cp "lpg" "$cfg_dir_rootfs/usr/bin" +}