wok-current annotate obex-data-server/receipt @ rev 22194

updated xorg-kbproto (1.0.6 -> 1.0.7)
author Hans-G?nter Theisgen
date Mon Nov 11 09:53:32 2019 +0100 (2019-11-11)
parents 010408d83eb3
children 535c806240cc
rev   line source
pascal@19893 1 # SliTaz package receipt.
pascal@19893 2
pascal@19893 3 PACKAGE="obex-data-server"
pascal@19893 4 VERSION="0.4.6"
pascal@19893 5 CATEGORY="network"
pascal@19893 6 SHORT_DESC="D-Bus service providing high-level OBEX functionality."
pascal@19893 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19893 8 LICENSE="GPL2"
pascal@21758 9 WEB_SITE="https://web.archive.org/web/20181010135741/http://wiki.muiline.com/obex-data-server"
pascal@19893 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19893 11 WGET_URL="$WEB_SITE/software/$TARBALL"
pascal@19908 12 TAGS="bluetooth"
pascal@19893 13
pascal@19893 14 DEPENDS="libusb dbus-glib bluez"
pascal@19893 15 BUILD_DEPENDS="libusb-dev dbus-glib-dev bluez-dev openobex-dev"
pascal@19893 16
pascal@19893 17 # Rules to configure and make the package.
pascal@19893 18 compile_rules()
pascal@19893 19 {
pascal@19893 20 sed -i 's/OBEX_FindInterfaces(\(.*\),.*)/OBEX_EnumerateInterfaces(\1)/' src/ods-obex.c
pascal@19894 21 ./configure --prefix=/usr \
pascal@19893 22 --mandir=/usr/share/man \
pascal@19893 23 $CONFIGURE_ARGS &&
pascal@19893 24 make &&
pascal@19893 25 make DESTDIR=$DESTDIR install
pascal@19893 26 }
pascal@19893 27
pascal@19893 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19893 29 genpkg_rules()
pascal@19893 30 {
pascal@19893 31 mkdir -p $fs/usr/share
pascal@19893 32 cp -a $install/etc $fs
pascal@19893 33 cp -a $install/usr/bin $fs/usr
pascal@19893 34 cp -a $install/usr/share/dbus-1 $fs/usr/share
pascal@19893 35 }