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

consonance: patch for libcdio-paranoia
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 03 18:28:33 2019 +0200 (2019-04-03)
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 }