wok-current view openobex/receipt @ rev 19890
Up openssh (7.5p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 05 10:24:01 2017 +0200 (2017-04-05) |
parents | |
children | 010408d83eb3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openobex"
4 VERSION="1.7.1"
5 CATEGORY="network"
6 SHORT_DESC="Object Exchange (OBEX) protocol."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openobex.org"
10 #WEB_SITE="http://dev.zuckschwerdt.org/openobex/wiki/"
11 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="libusb bluez"
15 BUILD_DEPENDS="cmake libusb-dev bluez-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build
21 cd build
22 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
23 make && make openobex-apps &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/lib $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }