wok-6.x annotate obex-data-server/receipt @ rev 21428

updated mediawiki (1.19.0 -> 1.32.0)
author Hans-G?nter Theisgen
date Fri Apr 26 17:30:33 2019 +0100 (2019-04-26)
parents 6a62f4adde15
children d8f824013cf6
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@19893 9 WEB_SITE="http://tadas.dailyda.com/"
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 }