wok annotate obexd/receipt @ rev 25651

Up collectd-bind (5.12.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 04 17:49:25 2024 +0000 (4 months ago)
parents 71360a13cd94
children
rev   line source
pascal@19879 1 # SliTaz package receipt.
pascal@19879 2
pascal@19879 3 PACKAGE="obexd"
pascal@19879 4 VERSION="0.48"
pascal@19879 5 CATEGORY="network"
pascal@19879 6 SHORT_DESC="OBEX Server and Client."
pascal@19879 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19879 8 LICENSE="GPL2"
pascal@25651 9 WEB_SITE="https://www.bluez.org/"
pascal@19879 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@19879 11 WGET_URL="https://www.kernel.org/pub/linux/bluetooth/$TARBALL"
pascal@19908 12 TAGS="bluetooth"
pascal@19879 13
pascal@19879 14 DEPENDS="bluez libusb libical glib dbus"
pascal@19879 15 BUILD_DEPENDS="wget bluez-dev libusb-dev libical-dev"
pascal@19879 16
pascal@24336 17 # What is the latest version available today?
pascal@24336 18 current_version()
pascal@24336 19 {
pascal@24336 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 22 }
pascal@24336 23
pascal@19879 24 # Rules to configure and make the package.
pascal@19879 25 compile_rules()
pascal@19879 26 {
pascal@19879 27 ./configure --prefix=/usr \
pascal@19879 28 --libexecdir=/usr/bin \
pascal@19879 29 $CONFIGURE_ARGS &&
pascal@19879 30 make &&
pascal@19879 31 make DESTDIR=$DESTDIR install
pascal@19879 32 }
pascal@19879 33
pascal@19879 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19879 35 genpkg_rules()
pascal@19879 36 {
pascal@19879 37 mkdir -p $fs/usr
pascal@19879 38 cp -a $install/usr/bin $fs/usr
pascal@19879 39 cp -a $install/usr/share $fs/usr
pascal@19879 40 }