libgsm: fix whitespace lints, add license

This commit is contained in:
Michael Gehring 2017-07-16 14:57:47 +00:00
parent 786ba377e0
commit fa54875b5c
1 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,7 @@ checksum=52c518244d428c2e56c543b98c9135f4a76ff780c32455580b793f60a0a092ad
do_build() { do_build() {
make CC=$CC LD=$CC AR=$AR CCFLAGS="$CFLAGS -c -DNeedFunctionPrototypes=1" make CC=$CC LD=$CC AR=$AR CCFLAGS="$CFLAGS -c -DNeedFunctionPrototypes=1"
} }
do_install() { do_install() {
vmkdir usr/bin vmkdir usr/bin
vmkdir usr/lib vmkdir usr/lib
@ -30,6 +31,8 @@ do_install() {
rm -f ${DESTDIR}/usr/include/gsm/*.orig rm -f ${DESTDIR}/usr/include/gsm/*.orig
ln -sfr ${DESTDIR}/usr/include/gsm/gsm.h ${DESTDIR}/usr/include/gsm.h ln -sfr ${DESTDIR}/usr/include/gsm/gsm.h ${DESTDIR}/usr/include/gsm.h
vlicense COPYRIGHT
} }
libgsm-devel_package() { libgsm-devel_package() {
@ -39,5 +42,5 @@ libgsm-devel_package() {
vmove usr/include vmove usr/include
vmove usr/lib/*.a vmove usr/lib/*.a
vmove usr/lib/*.so vmove usr/lib/*.so
} }
} }