2015-08-05 17:31:34 +09:00
|
|
|
# Description: GSM library
|
|
|
|
# URL: http://www.quut.com/gsm/
|
2017-04-13 22:23:16 +10:00
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
2015-08-05 17:31:34 +09:00
|
|
|
|
|
|
|
name=gsm
|
2020-06-08 19:17:21 +00:00
|
|
|
version=1.0.19
|
2020-02-09 15:26:37 +11:00
|
|
|
release=1
|
2020-06-08 19:17:21 +00:00
|
|
|
source=(http://www.quut.com/$name/$name-$version.tar.gz
|
|
|
|
gsm.patch)
|
2015-08-05 17:31:34 +09:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-${version%.*}-pl${version##*.}
|
|
|
|
|
|
|
|
# Patch to build shared library instead of static
|
|
|
|
patch -p0 -i $SRC/gsm.patch
|
|
|
|
|
2020-01-20 15:00:26 +00:00
|
|
|
install -d -m 755 $PKG/usr/{bin,include/gsm,share/man/man{1,3},lib}
|
2015-08-05 17:31:34 +09:00
|
|
|
|
|
|
|
make CCFLAGS="-c $CFLAGS -fPIC"
|
2020-02-09 15:26:37 +11:00
|
|
|
make -j1 INSTALL_ROOT=$PKG/usr \
|
|
|
|
GSM_INSTALL_INC="$PKG"/usr/include/gsm \
|
|
|
|
GSM_INSTALL_MAN="$PKG"/usr/share/man/man3 \
|
|
|
|
TOAST_INSTALL_MAN="$PKG"/usr/share/man/man1 \
|
|
|
|
install
|
2015-08-05 17:31:34 +09:00
|
|
|
}
|