wok view obexftp/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents 43defa66ccf4
children 080c1dff8494
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 fuse expat"
15 BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse-dev expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build
21 cd build
22 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 }