diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2015-10-26 13:17:41 -0200 |
---|---|---|
committer | Fabio Berton <fabio.berton@ossystems.com.br> | 2015-10-26 13:23:34 -0200 |
commit | ee5e6c4c53d553b4ccd8a58bc0f6662aba68e41b (patch) | |
tree | 3efc5897985e27362b02569ea85aaa634f7f71ef | |
parent | f6234c4d326ec622456ddbc55c6d57e53e87da6c (diff) |
libgsm: Organize recipe
Fix indentations and style issues.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
-rw-r--r-- | recipes-isdn/libgsm/libgsm_1.0.13.bb | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/recipes-isdn/libgsm/libgsm_1.0.13.bb b/recipes-isdn/libgsm/libgsm_1.0.13.bb index 38e7e11..fb16037 100644 --- a/recipes-isdn/libgsm/libgsm_1.0.13.bb +++ b/recipes-isdn/libgsm/libgsm_1.0.13.bb @@ -4,15 +4,14 @@ PRIORITY = "optional" LICENSE = "libgsm" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fc1372895b173aaf543a122db37e04f5" -INC_PR = "r2" - -SRC_URI = "http://www.quut.com/gsm/gsm-${PV}.tar.gz \ - file://01_makefile.patch \ - file://02_cplusplus.patch \ - file://03_config.patch \ - file://04_includes.patch \ - file://05_compiler_warnings.patch \ - " +SRC_URI = "\ + http://www.quut.com/gsm/gsm-${PV}.tar.gz \ + file://01_makefile.patch \ + file://02_cplusplus.patch \ + file://03_config.patch \ + file://04_includes.patch \ + file://05_compiler_warnings.patch \ +" S = "${WORKDIR}/gsm-1.0-pl13/" @@ -23,16 +22,16 @@ CFLAGS += "-c -g -fPIC -Wall -D_GNU_SOURCE -D_REENTRANT -DNeedFunctionPrototypes PARALLEL_MAKE = "" -do_compile() { - unset LD - oe_runmake CCFLAGS="${CFLAGS}" +do_compile(){ + unset LD + oe_runmake CCFLAGS="${CFLAGS}" } -do_install() { - oe_libinstall -a -C lib libgsm ${D}${libdir} - oe_libinstall -so -C lib libgsm ${D}${libdir} - install -d ${D}${includedir}/gsm - install -m 0644 ${S}/inc/gsm.h ${D}${includedir}/gsm/ - cd ${D}${includedir} - ln -s gsm/gsm.h gsm.h +do_install(){ + oe_libinstall -a -C lib libgsm ${D}${libdir} + oe_libinstall -so -C lib libgsm ${D}${libdir} + install -d ${D}${includedir}/gsm + install -m 0644 ${S}/inc/gsm.h ${D}${includedir}/gsm/ + cd ${D}${includedir} + ln -s gsm/gsm.h gsm.h } |