milis/talimatname/genel/gsm/talimat

27 lines
677 B
Plaintext
Raw Normal View History

2016-07-22 18:56:15 +02:00
# Description: Shared libraries for GSM 06.10 lossy speech compression
# URL: http://www.quut.com/gsm/
# Packager: alihan-ozturk28@hotmail.com
# Depends on :
name=gsm
version=1.0.14
release=1
source=(http://www.quut.com/$name/$name-$version.tar.gz
gsm.patch)
build() {
cd $name-*
patch -Np0 -i $SRC/gsm.patch
CFLAGS="${CFLAGS} -fPIC"
make CCFLAGS="-c ${CFLAGS}"
install -m755 -d $PKG/usr/{bin,lib,include/gsm,share/{licenses/${name},man/man{1,3}}}
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
}