wok view openobex/receipt @ rev 20651

Up dietlibc (0.34), musl-libc (1.1.20)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 13 10:11:20 2019 +0100 (2019-01-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 }