wok-6.x annotate openobex/receipt @ rev 21191

consonance: patch for libcdio-paranoia
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 03 18:28:33 2019 +0200 (2019-04-03)
parents 010408d83eb3
children d87d4afc1a1a
rev   line source
pascal@19879 1 # SliTaz package receipt.
pascal@19879 2
pascal@19879 3 PACKAGE="openobex"
pascal@19879 4 VERSION="1.7.1"
pascal@19879 5 CATEGORY="network"
pascal@19879 6 SHORT_DESC="Object Exchange (OBEX) protocol."
pascal@19879 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19879 8 LICENSE="GPL2"
pascal@20672 9 WEB_SITE="https://gitlab.com/openobex/mainline"
pascal@19879 10 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
pascal@19879 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
pascal@19908 12 TAGS="bluetooth"
pascal@19879 13
pascal@19879 14 DEPENDS="libusb bluez"
pascal@19879 15 BUILD_DEPENDS="cmake libusb-dev bluez-dev"
pascal@19879 16
pascal@19879 17 # Rules to configure and make the package.
pascal@19879 18 compile_rules()
pascal@19879 19 {
pascal@19879 20 mkdir build
pascal@19879 21 cd build
pascal@19879 22 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
pascal@19879 23 make && make openobex-apps &&
pascal@19879 24 make DESTDIR=$DESTDIR install
pascal@19879 25 }
pascal@19879 26
pascal@19879 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19879 28 genpkg_rules()
pascal@19879 29 {
pascal@19879 30 mkdir -p $fs/usr/lib
pascal@19879 31 cp -a $install/lib $fs
pascal@19879 32 cp -a $install/usr/bin $fs/usr
pascal@19879 33 cp -a $install/usr/sbin $fs/usr
pascal@19879 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19879 35 }