wok-6.x view openobex/receipt @ rev 24061
Add lz4ultra
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 12 09:05:17 2021 +0000 (2021-06-12) |
parents | d87d4afc1a1a |
children | 1a10044dd144 |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/tar.gz/!d;s|.*/mainline-\(.*\).tar.gz".*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir build
28 cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
30 make &&
31 make openobex-apps &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/lib $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }