wok diff obexftp/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 | 43defa66ccf4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/obexftp/receipt Sun Apr 02 16:56:55 2017 +0200 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="obexftp" 1.7 +VERSION="0.24.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="OBEX Server and Client." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://triq.net/obex/" 1.13 +TARBALL="$PACKAGE-$VERSION-Source.tar.gz" 1.14 +WGET_URL="$SF_MIRROR/openobex/$PACKAGE/$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="bluez openobex fuse expat" 1.17 +BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse-dev expat-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + mkdir build 1.23 + cd build 1.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. 1.25 + make && 1.26 + make DESTDIR=$DESTDIR install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/lib 1.33 + cp -a $install/usr/lib/*.so $fs/usr/lib 1.34 + cp -a $install/usr/bin $fs/usr 1.35 +}