summaryrefslogtreecommitdiff
path: root/gsm/Pkgfile
blob: c49ec08fd20a3f7aa420d21f5c937bf647251a50 (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.19
    7 release=1
    8 source=(http://www.quut.com/$name/$name-$version.tar.gz
    9   gsm.patch)
   10 
   11 build() {
   12 	cd $name-${version%.*}-pl${version##*.}
   13 
   14 	# Patch to build shared library instead of static
   15 	patch -p0 -i $SRC/gsm.patch
   16 
   17 	install -d -m 755  $PKG/usr/{bin,include/gsm,share/man/man{1,3},lib}
   18 
   19 	make CCFLAGS="-c $CFLAGS -fPIC"
   20 	make -j1 INSTALL_ROOT=$PKG/usr \
   21 		GSM_INSTALL_INC="$PKG"/usr/include/gsm \
   22 		GSM_INSTALL_MAN="$PKG"/usr/share/man/man3 \
   23 		TOAST_INSTALL_MAN="$PKG"/usr/share/man/man1 \
   24 		install
   25 }

Generated by cgit