wok-current annotate obexftp/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
parents 080c1dff8494
children
rev   line source
pascal@19879 1 # SliTaz package receipt.
pascal@19879 2
pascal@19879 3 PACKAGE="obexftp"
pascal@19879 4 VERSION="0.24.2"
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://triq.net/obex/"
pascal@19879 10 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
pascal@19879 11 WGET_URL="$SF_MIRROR/openobex/$PACKAGE/$VERSION/$TARBALL"
pascal@19908 12 TAGS="bluetooth"
pascal@19879 13
pascal@24766 14 DEPENDS="bluez openobex fuse2 expat"
pascal@24766 15 BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse2-dev expat-dev"
pascal@19879 16
pascal@24396 17 # What is the latest version available today?
pascal@24396 18 current_version()
pascal@24396 19 {
pascal@24396 20 wget -O - https://sourceforge.net/projects/openobex/files/obexftp/ 2>/dev/null | \
pascal@24396 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24396 22 sed '/scope="row/!d;s|.*/obexftp/||;s|/.*||;q'
pascal@24396 23 }
pascal@24396 24
pascal@19879 25 # Rules to configure and make the package.
pascal@19879 26 compile_rules()
pascal@19879 27 {
pascal@19879 28 mkdir build
pascal@19879 29 cd build
pascal@19879 30 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
pascal@19879 31 make &&
pascal@19879 32 make DESTDIR=$DESTDIR install
pascal@19879 33 }
pascal@19879 34
pascal@19879 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19879 36 genpkg_rules()
pascal@19879 37 {
pascal@19879 38 mkdir -p $fs/usr/lib
pascal@19880 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19879 40 cp -a $install/usr/bin $fs/usr
pascal@19879 41 }