diff options
author | brent s | 2017-06-23 20:11:51 -0400 |
---|---|---|
committer | brent s | 2017-06-23 20:11:51 -0400 |
commit | b83ff97d5d91b6b6d8500a973377dc791ba1b271 (patch) | |
tree | 601ca3f85400d0fb937cd0c18d41e6d6b8397adc | |
parent | efd4892e42fea5366ad7e057a6414945b0f162e2 (diff) | |
download | aur-b83ff97d5d91b6b6d8500a973377dc791ba1b271.tar.gz |
some minor cleanup
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Jun 22 00:55:02 UTC 2017 +# Sat Jun 24 00:11:51 UTC 2017 pkgbase = freeswitch pkgdesc = An opensource and free (libre, price) telephony system, similar to Asterisk. pkgver = 1.6.17 - pkgrel = 1 + pkgrel = 2 url = http://freeswitch.org/ install = freeswitch.install changelog = ChangeLog @@ -54,7 +54,7 @@ _disabled_modules=(languages/mod_spidermonkey pkgname='freeswitch' pkgver='1.6.17' -pkgrel=1 +pkgrel=2 pkgdesc="An opensource and free (libre, price) telephony system, similar to Asterisk." arch=('i686' 'x86_64') url="http://freeswitch.org/" @@ -146,7 +146,7 @@ disable_module() { sed -i -e "s|^${_fs_mod}|#${_fs_mod}|" modules.conf } -build() { +prepare() { cd ${srcdir}/${_pkgname} # BUILD BEGINS @@ -170,9 +170,7 @@ build() { # CONFIGURE # We need to override some things for the ./configure for 1.6.17 - PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig - CFLAGS+=" -I/usr/include/openssl-1.0" - LDFLAGS+=" -I/usr/lib/openssl-1.0" ./configure \ + PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig ./configure \ --prefix=/var/lib/freeswitch \ --with-python=/usr/bin/python2 \ --bindir=/usr/bin \ @@ -194,6 +192,10 @@ build() { --with-rundir=/run/freeswitch patch -Np1 < ../freeswitch-arch.patch # needed for 1.6.17 +} + +build() { + cd ${srcdir}/${_pkgname} # COMPILE make |