wok-6.x annotate obex-data-server/receipt @ rev 25544
merkaartor: include localised messages in package
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 12 15:58:49 2023 +0100 (21 months ago) |
parents | 1f9238437d3b |
children |
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@25443 | 9 WEB_SITE="https://web.archive.org/web/20220331170020/http://wiki.muiline.com/obex-data-server" |
pascal@19893 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25042 | 11 WGET_URL="https://ftp.radix.pro/sources/packages/n/$PACKAGE/$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@24465 | 17 # What is the latest version available today? |
pascal@24465 | 18 current_version() |
pascal@24465 | 19 { |
pascal@24465 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24465 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24465 | 22 } |
pascal@24465 | 23 |
pascal@19893 | 24 # Rules to configure and make the package. |
pascal@19893 | 25 compile_rules() |
pascal@19893 | 26 { |
pascal@19893 | 27 sed -i 's/OBEX_FindInterfaces(\(.*\),.*)/OBEX_EnumerateInterfaces(\1)/' src/ods-obex.c |
pascal@19894 | 28 ./configure --prefix=/usr \ |
pascal@19893 | 29 --mandir=/usr/share/man \ |
pascal@19893 | 30 $CONFIGURE_ARGS && |
pascal@19893 | 31 make && |
pascal@19893 | 32 make DESTDIR=$DESTDIR install |
pascal@19893 | 33 } |
pascal@19893 | 34 |
pascal@19893 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19893 | 36 genpkg_rules() |
pascal@19893 | 37 { |
pascal@19893 | 38 mkdir -p $fs/usr/share |
pascal@19893 | 39 cp -a $install/etc $fs |
pascal@19893 | 40 cp -a $install/usr/bin $fs/usr |
pascal@19893 | 41 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pascal@19893 | 42 } |