wok-next view openobex/receipt @ rev 20856

Update libfm-extra, menu-cache, libfm, pcmanfm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 17:13:37 2018 +0300 (2018-06-26)
parents
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openobex"
4 VERSION="1.7.2"
5 CATEGORY="libs"
6 SHORT_DESC="OpenOBEX is an Open-source 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/stable/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="openobex-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 }