wok view obexftp/receipt @ rev 19879

Add obexd & obexftp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 02 16:56:55 2017 +0200 (2017-04-02)
parents
children 43defa66ccf4
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"
13 DEPENDS="bluez openobex fuse expat"
14 BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse-dev expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir build
20 cd build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 }