aboutsummaryrefslogtreecommitdiffstats
path: root/main/obex-data-server/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-20 17:56:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-21 07:29:41 +0000
commit60974eb1386a1f60fe99ece132e2c8855b3699b7 (patch)
treee36381ff3f545f5507454a559a25d5521e8cf4ea /main/obex-data-server/APKBUILD
parentcb1665d5d572f972f42465d9ad8d4426456118cd (diff)
downloadaports-60974eb1386a1f60fe99ece132e2c8855b3699b7.tar.bz2
aports-60974eb1386a1f60fe99ece132e2c8855b3699b7.tar.xz
main/obex-data-server: build fix
Diffstat (limited to 'main/obex-data-server/APKBUILD')
-rw-r--r--main/obex-data-server/APKBUILD18
1 files changed, 14 insertions, 4 deletions
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"