diff options
Diffstat (limited to 'main/obex-data-server/APKBUILD')
-rw-r--r-- | main/obex-data-server/APKBUILD | 18 |
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" |