summaryrefslogtreecommitdiff
path: root/gsm/Pkgfile
blob: 326fadfd94df5ef14e31f38b2d90092afee1fccf (plain)
    1 # Description:	GSM library
    2 # URL:		http://www.quut.com/gsm/
    3 # Maintainer:	Alan Mizrahi, alan at mizrahi dot com dot ve
    4 
    5 name=gsm
    6 version=1.0.14
    7 release=1
    8 source=(
    9 http://www.quut.com/$name/$name-$version.tar.gz
   10 gsm.patch
   11 )
   12 
   13 build() {
   14 	cd $name-${version%.*}-pl${version##*.}
   15 
   16 	# Patch to build shared library instead of static
   17 	patch -p0 -i $SRC/gsm.patch
   18 
   19 	install -d -m 755  $PKG/usr/{bin,include/gsm,man/man{1,3},lib}
   20 
   21 	make CCFLAGS="-c $CFLAGS -fPIC"
   22 	make -j1 INSTALL_ROOT=$PKG/usr GSM_INSTALL_INC="$PKG/usr/include/gsm" install
   23 }

Generated by cgit