wok view openobex/receipt @ rev 22797

Add xsane-locales
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 27 10:28:49 2020 +0100 (2020-01-27)
parents 8dd8bab3f0ca
children dc0f7fd1ff7d
line source
1 # SliTaz package receipt.
3 PACKAGE="openobex"
4 VERSION="1.7.2"
5 CATEGORY="network"
6 TAGS="bluetooth"
7 SHORT_DESC="Object Exchange (OBEX) protocol."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://gitlab.com/openobex/mainline"
12 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="bluez libusb"
16 BUILD_DEPENDS="bluez-dev cmake libusb-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 &&
25 make openobex-apps &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
34 cp -a $install/lib $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }