wok-current view obex-data-server/receipt @ rev 23748

updated xfi (1.40 -> 1.43.2)
author Hans-G?nter Theisgen
date Fri May 01 15:05:50 2020 +0100 (2020-05-01)
parents 010408d83eb3
children 535c806240cc
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="https://web.archive.org/web/20181010135741/http://wiki.muiline.com/obex-data-server"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/software/$TARBALL"
12 TAGS="bluetooth"
14 DEPENDS="libusb dbus-glib bluez"
15 BUILD_DEPENDS="libusb-dev dbus-glib-dev bluez-dev openobex-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/OBEX_FindInterfaces(\(.*\),.*)/OBEX_EnumerateInterfaces(\1)/' src/ods-obex.c
21 ./configure --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/etc $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/dbus-1 $fs/usr/share
35 }