1 # Contributor: Essien Ita Essien <me@essienitaessien.com>
6 pkgdesc="Opensource WAP/MMS Gateway Patched for Mbuni MMS/VAS Gateway"
7 url="http://www.mbuni.org"
9 depends=('libxml2>=2.2.5' 'libmysqlclient' 'postgresql-libs')
15 backup=(etc/kannel.conf)
16 source=(http://www.mbuni.org/downloads/1.2.0/kannel-snapshot.tar.gz kannel.conf modems.conf rc.bearerbox rc.wapbox rc.smsbox COPYING)
17 md5sums=('07e312bf076ce856081659f97cfba098'
18 '8516af5ab9ee48fb8e7d687ab9f8b8a6'
19 '8420dd67817fbbbcd25cf22375c750de'
20 'd18ebbd1bf4cb3e8bc7c4e2a76f13029'
21 'd79fa90fea396d9699860f91448f571e'
22 '82cda8e92b07259d55a4c9fef0a8baea'
23 '03e9fa6510e7957e651adbe338deabd2')
26 cd $startdir/src/kannel-snapshot
27 ./configure --prefix=/usr --with-pgsql --with-mysql
29 make DESTDIR=$startdir/pkg install
30 make DESTDIR=$startdir/pkg install-test
32 install -D -m 664 $startdir/src/kannel.conf $startdir/pkg/etc/kannel/kannel.conf
33 install -D -m 664 $startdir/src/modems.conf $startdir/pkg/etc/kannel/modems.conf
35 install -D -m 775 $startdir/src/rc.bearerbox $startdir/pkg/etc/rc.d/bearerbox
36 install -D -m 775 $startdir/src/rc.smsbox $startdir/pkg/etc/rc.d/smsbox
37 install -D -m 775 $startdir/src/rc.wapbox $startdir/pkg/etc/rc.d/wapbox
39 install -D -m 644 $startdir/src/COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
41 mkdir -p $startdir/pkg/var/log/kannel