wok-6.x annotate obexd/receipt @ rev 25174

updated python-flask (1.1.2 -> 1.1.4)
author Hans-G?nter Theisgen
date Fri Jul 01 17:16:59 2022 +0100 (2022-07-01)
parents 010408d83eb3
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@19879 9 WEB_SITE="http://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 }