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

Add obexd & obexftp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 02 16:56:55 2017 +0200 (2017-04-02)
parents
children 010408d83eb3
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@19879 9 WEB_SITE="http://www.openobex.org"
pascal@19879 10 #WEB_SITE="http://dev.zuckschwerdt.org/openobex/wiki/"
pascal@19879 11 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
pascal@19879 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
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 }