wok-6.x annotate obexftp/receipt @ rev 24521

updated ettercap (0.8.3 -> 0.8.3.1)
author Hans-G?nter Theisgen
date Tue Feb 22 15:47:04 2022 +0100 (2022-02-22)
parents 010408d83eb3
children 72f2704d3ae0
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@19879 14 DEPENDS="bluez openobex fuse expat"
pascal@19879 15 BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse-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 }