wok view openobex/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
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 }