wok view obexftp/receipt @ rev 25368

libmpd: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 29 10:44:25 2022 +0000 (2022-07-29)
parents 080c1dff8494
children 29df00e1e19d
line source
1 # SliTaz package receipt.
3 PACKAGE="obexftp"
4 VERSION="0.24.2"
5 CATEGORY="network"
6 SHORT_DESC="OBEX Server and Client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://triq.net/obex/"
10 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
11 WGET_URL="$SF_MIRROR/openobex/$PACKAGE/$VERSION/$TARBALL"
12 TAGS="bluetooth"
14 DEPENDS="bluez openobex fuse2 expat"
15 BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse2-dev expat-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/openobex/files/obexftp/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/obexftp/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build
29 cd build
30 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 }