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

Generated by cgit