wok-6.x rev 19909
Add obexfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 13 10:26:13 2017 +0200 (2017-04-13) |
parents | 010408d83eb3 |
children | 6eb2d62a9c1f |
files | obexfs/receipt obexftp-dev/receipt ussp-push/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/obexfs/receipt Thu Apr 13 10:26:13 2017 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="obexfs" 1.7 +VERSION="0.12" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="OBEX File System for FUSE." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/zuckschwerdt/obexfs" 1.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.15 +TAGS="bluetooth" 1.16 + 1.17 +DEPENDS="fuse obexftp" 1.18 +BUILD_DEPENDS="fuse-dev openobex-dev bluez-dev obexftp-dev automake autoconf" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + autoreconf -fi 1.24 + automake --add-missing 1.25 + ./configure --prefix=/usr \ 1.26 + $CONFIGURE_ARGS && 1.27 + make && 1.28 + make DESTDIR=$DESTDIR install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr 1.35 + cp -a $install/usr/bin $fs/usr 1.36 +}
2.1 --- a/obexftp-dev/receipt Thu Apr 13 09:13:02 2017 +0200 2.2 +++ b/obexftp-dev/receipt Thu Apr 13 10:26:13 2017 +0200 2.3 @@ -9,7 +9,7 @@ 2.4 WEB_SITE="http://triq.net/obex/" 2.5 WANTED="obexftp" 2.6 2.7 -DEPENDS="obexftp pkg-config" 2.8 +DEPENDS="obexftp pkg-config bluez-dev openobex-dev" 2.9 2.10 # Rules to gen a SliTaz package suitable for Tazpkg. 2.11 genpkg_rules()
3.1 --- a/ussp-push/receipt Thu Apr 13 09:13:02 2017 +0200 3.2 +++ b/ussp-push/receipt Thu Apr 13 10:26:13 2017 +0200 3.3 @@ -41,9 +41,8 @@ 3.4 } 3.5 EOT 3.6 sed -i 's/hci_remote_name/hci_read_remote_name/' src/obex_socket.c 3.7 - ./configure --prefix=/usr --infodir=/usr/share/info \ 3.8 - --mandir=/usr/share/man \ 3.9 - $CONFIGURE_ARGS && 3.10 + ./configure --prefix=/usr \ 3.11 + $CONFIGURE_ARGS && 3.12 make && 3.13 make DESTDIR=$DESTDIR install 3.14 } 3.15 @@ -52,8 +51,8 @@ 3.16 genpkg_rules() 3.17 { 3.18 mkdir -p $fs/usr/share/doc 3.19 - cp -a $src/doc/ussp-push.html $fs/usr/share/doc 3.20 - cp -a $src/README $fs/usr/share/doc 3.21 + cp -a $src/doc/ussp-push.html $install/usr/share/doc 3.22 + cp -a $src/README $install/usr/share/doc 3.23 cp -a $install/usr/bin $fs/usr 3.24 } 3.25