wok-6.x view openobex/receipt @ rev 20426

linld: fix xmm_driver
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 13 00:46:30 2018 +0200 (2018-08-13)
parents b06deec67841
children 8dd8bab3f0ca
line source
1 # SliTaz package receipt.
3 PACKAGE="openobex"
4 VERSION="1.7.1"
5 CATEGORY="network"
6 SHORT_DESC="Object Exchange (OBEX) protocol."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openobex.org"
10 #WEB_SITE="http://dev.zuckschwerdt.org/openobex/wiki/"
11 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
13 TAGS="bluetooth"
15 DEPENDS="libusb bluez"
16 BUILD_DEPENDS="cmake libusb-dev bluez-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
23 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
24 make && make openobex-apps &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/lib $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }