wok view obex-data-server/receipt @ rev 19893

Add obex-data-server
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 06 15:24:33 2017 +0200 (2017-04-06)
parents
children 6a62f4adde15
line source
1 # SliTaz package receipt.
3 PACKAGE="obex-data-server"
4 VERSION="0.4.6"
5 CATEGORY="network"
6 SHORT_DESC="D-Bus service providing high-level OBEX functionality."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://tadas.dailyda.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/software/$TARBALL"
13 DEPENDS="libusb dbus-glib bluez"
14 BUILD_DEPENDS="libusb-dev dbus-glib-dev bluez-dev openobex-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/OBEX_FindInterfaces(\(.*\),.*)/OBEX_EnumerateInterfaces(\1)/' src/ods-obex.c
20 ./configure --prefix=/usr
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/dbus-1 $fs/usr/share
34 }