wok-6.x annotate obex-data-server/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 535c806240cc |
children | c15fedfb9582 |
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@24465 | 9 WEB_SITE="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 } |