2011-04-28 20:47:27 +00:00
|
|
|
# Maintainer: Andries Radu <admiral0 AT tuxfamily.org>
|
|
|
|
|
2011-04-28 21:08:50 +00:00
|
|
|
plugrel=1
|
2011-04-29 15:30:30 +00:00
|
|
|
|
|
|
|
pkgname=ofono-git
|
2011-06-09 21:37:43 +00:00
|
|
|
pkgver=20110609
|
2011-04-28 20:47:27 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A high-level D-Bus API for use by telephony applications of any license."
|
|
|
|
arch=('arm' 'i686' 'x86_64')
|
|
|
|
url="http://www.freesmartphone.org"
|
|
|
|
license=('GPL')
|
2011-04-29 15:30:30 +00:00
|
|
|
depends=('glib2' 'dbus' 'bluez')
|
|
|
|
makedepends=('git')
|
2011-04-28 20:47:27 +00:00
|
|
|
_gitroot="git://git.kernel.org/pub/scm/network/ofono/ofono.git"
|
|
|
|
_gitname="ofono"
|
|
|
|
build() {
|
|
|
|
cd $srcdir
|
|
|
|
msg "Connecting to git.kernel.org GIT server...."
|
|
|
|
|
|
|
|
if [ -d ${srcdir}/$_gitname ] ; then
|
|
|
|
cd $_gitname && git pull origin
|
|
|
|
msg "The local files are updated."
|
|
|
|
else
|
2011-04-29 15:30:30 +00:00
|
|
|
git clone --depth 1 $_gitroot
|
2011-04-28 20:47:27 +00:00
|
|
|
cd $_gitname
|
|
|
|
fi
|
|
|
|
./bootstrap || return 1
|
|
|
|
./configure --prefix=/usr ||return 1
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
}
|
|
|
|
|