wok-6.x annotate openobex/receipt @ rev 20426
linld: fix xmm_driver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 13 00:46:30 2018 +0200 (2018-08-13) |
parents | b06deec67841 |
children | 8dd8bab3f0ca |
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@19908 | 13 TAGS="bluetooth" |
pascal@19879 | 14 |
pascal@19879 | 15 DEPENDS="libusb bluez" |
pascal@19879 | 16 BUILD_DEPENDS="cmake libusb-dev bluez-dev" |
pascal@19879 | 17 |
pascal@19879 | 18 # Rules to configure and make the package. |
pascal@19879 | 19 compile_rules() |
pascal@19879 | 20 { |
pascal@19879 | 21 mkdir build |
pascal@19879 | 22 cd build |
pascal@19879 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
pascal@19879 | 24 make && make openobex-apps && |
pascal@19879 | 25 make DESTDIR=$DESTDIR install |
pascal@19879 | 26 } |
pascal@19879 | 27 |
pascal@19879 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19879 | 29 genpkg_rules() |
pascal@19879 | 30 { |
pascal@19879 | 31 mkdir -p $fs/usr/lib |
pascal@19879 | 32 cp -a $install/lib $fs |
pascal@19879 | 33 cp -a $install/usr/bin $fs/usr |
pascal@19879 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@19879 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19879 | 36 } |