From 60974eb1386a1f60fe99ece132e2c8855b3699b7 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 20 Aug 2012 17:56:32 +0000 Subject: main/obex-data-server: build fix --- main/obex-data-server/APKBUILD | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'main/obex-data-server/APKBUILD') diff --git a/main/obex-data-server/APKBUILD b/main/obex-data-server/APKBUILD index 0884138c49..580b512ef8 100644 --- a/main/obex-data-server/APKBUILD +++ b/main/obex-data-server/APKBUILD @@ -9,11 +9,20 @@ arch="all" depends="!obexd" subpackages="$pkgname-doc" makedepends="dbus-glib-dev openobex-dev gtk+-dev libusb-compat-dev bluez-dev" -source="http://tadas.dailyda.com/software/obex-data-server-$pkgver.tar.gz" +source="http://tadas.dailyda.com/software/obex-data-server-$pkgver.tar.gz + obex-data-server-0.4.6-build-fixes-1.patch" _builddir="$srcdir"/$pkgname-$pkgver -build () -{ +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ @@ -26,4 +35,5 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="961ca5db6fe9c97024e133cc6203cc4d obex-data-server-0.4.6.tar.gz" +md5sums="961ca5db6fe9c97024e133cc6203cc4d obex-data-server-0.4.6.tar.gz +7662a16e6b85b0e42a8a0fbf3ecd6d33 obex-data-server-0.4.6-build-fixes-1.patch" -- cgit v1.2.3