# HG changeset patch # User Pascal Bellard # Date 1492071973 -7200 # Node ID 709cc39a8b9feb2d1a6083ef819753f68b610dad # Parent 010408d83eb3daaf328406aff78e5c985fce79e3 Add obexfs diff -r 010408d83eb3 -r 709cc39a8b9f obexfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obexfs/receipt Thu Apr 13 10:26:13 2017 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="obexfs" +VERSION="0.12" +CATEGORY="system-tools" +SHORT_DESC="OBEX File System for FUSE." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/zuckschwerdt/obexfs" +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" +TAGS="bluetooth" + +DEPENDS="fuse obexftp" +BUILD_DEPENDS="fuse-dev openobex-dev bluez-dev obexftp-dev automake autoconf" + +# Rules to configure and make the package. +compile_rules() +{ + autoreconf -fi + automake --add-missing + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +} diff -r 010408d83eb3 -r 709cc39a8b9f obexftp-dev/receipt --- a/obexftp-dev/receipt Thu Apr 13 09:13:02 2017 +0200 +++ b/obexftp-dev/receipt Thu Apr 13 10:26:13 2017 +0200 @@ -9,7 +9,7 @@ WEB_SITE="http://triq.net/obex/" WANTED="obexftp" -DEPENDS="obexftp pkg-config" +DEPENDS="obexftp pkg-config bluez-dev openobex-dev" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 010408d83eb3 -r 709cc39a8b9f ussp-push/receipt --- a/ussp-push/receipt Thu Apr 13 09:13:02 2017 +0200 +++ b/ussp-push/receipt Thu Apr 13 10:26:13 2017 +0200 @@ -41,9 +41,8 @@ } EOT sed -i 's/hci_remote_name/hci_read_remote_name/' src/obex_socket.c - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } @@ -52,8 +51,8 @@ genpkg_rules() { mkdir -p $fs/usr/share/doc - cp -a $src/doc/ussp-push.html $fs/usr/share/doc - cp -a $src/README $fs/usr/share/doc + cp -a $src/doc/ussp-push.html $install/usr/share/doc + cp -a $src/README $install/usr/share/doc cp -a $install/usr/bin $fs/usr }