summaryrefslogtreecommitdiff
path: root/pjsip/Pkgfile
blob: 5e27f2e6834a4de016e7df35e01d18633c3b6d67 (plain)
    1 # Description:	Multimedia communication library
    2 # URL:		http://www.pjsip.org/
    3 # Packager:	Alan Mizrahi, alan at mizrahi dot com dot ve
    4 # Depends on:	libsrtp
    5 
    6 name=pjsip
    7 version=2.4
    8 release=1
    9 source=(http://www.pjsip.org/release/$version/pjproject-$version.tar.bz2)
   10 
   11 # Related ports:
   12 # pjsua: just the user-agent
   13 # pjsip: just what asterisk needs for res_pjsip.so and friends
   14 # pjproject: libraries and user-agents with everything
   15 
   16 build() {
   17 	cd pjproject-$version
   18 
   19 	export CFLAGS="$CFLAGS -DNDEBUG"
   20 
   21 	./configure \
   22 		--enable-shared \
   23 		--prefix=/usr \
   24 		--disable-gsm-codec \
   25 		--with-external-srtp \
   26 		--disable-g7221-codec \
   27 		--disable-ilbc-codec \
   28 		--disable-libyuv \
   29 		--disable-opencore-amr \
   30 		--disable-resample \
   31 		--disable-sound \
   32 		--disable-speex-codec \
   33 		--disable-speex-aec \
   34 		--disable-video
   35 
   36 	make dep
   37 	make
   38 	make DESTDIR=$PKG install
   39 
   40 	# remove static libs
   41 	rm -f $PKG/usr/lib/*.a
   42 }

Generated by cgit