wok-next view openobex/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openobex"
4 VERSION="1.7.2"
5 CATEGORY="libs"
6 SHORT_DESC="Opensource library for the OBject EXchange protocol"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2"
9 WEB_SITE="https://gitlab.com/openobex/mainline"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/openobex.html"
12 TARBALL="openobex-$VERSION-Source.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="cmake bluez-dev libusb-dev libusb-compat-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 # group plugdev (83) provided by slitaz-base-files
21 mkdir build
22 cd build
24 cmake \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
27 -DCMAKE_BUILD_TYPE=Release \
28 -Wno-dev \
29 .. &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 openobex)
37 copy @std
38 DEPENDS="libusb"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="openobex libusb-dev"
43 ;;
44 esac
45 }