wok-current view openobex/receipt @ rev 20775

updated cdrdao (1.2.3 -> 1.2.4)
author Hans-G?nter Theisgen
date Wed Feb 13 17:33:03 2019 +0100 (2019-02-13)
parents 010408d83eb3
children d87d4afc1a1a
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="https://gitlab.com/openobex/mainline"
10 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
12 TAGS="bluetooth"
14 DEPENDS="libusb bluez"
15 BUILD_DEPENDS="cmake libusb-dev bluez-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 && make openobex-apps &&
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/lib $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }