wok-6.x 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 264def5cb7fe
children 43defa66ccf4
files linld/stuff/src/MEMTOP.ASM obexd/receipt obexftp-dev/receipt obexftp/receipt openobex-dev/receipt openobex/receipt
line diff
     1.1 --- a/linld/stuff/src/MEMTOP.ASM	Fri Mar 31 21:07:45 2017 +0200
     1.2 +++ b/linld/stuff/src/MEMTOP.ASM	Sun Apr 02 16:56:55 2017 +0200
     1.3 @@ -54,7 +54,8 @@
     1.4                  test    dx,dx           ;  memory in AX/BX rather than
     1.5                  jnz     @@use_cxdx      ;  CX/DX.  The spec I have read
     1.6  @@use_axbx:     mov     dx,bx           ;  seems to indicate AX/BX
     1.7 -                jmp     @@end_kludge    ;  are more reasonable anyway...
     1.8 +                ;jmp     @@end_kludge    ;  are more reasonable anyway...
     1.9 +		db	0a8h	; test al,im opcode
    1.10  @@use_cxdx:     xchg    ax,cx
    1.11  @@end_kludge:                   ;now: dx=64k units above 16m
    1.12                                  ;     ax=1k units above 1m below 16m (max 3c00h)
    1.13 @@ -84,7 +85,17 @@
    1.14  @@ok:
    1.15  ;                xor     dx,dx
    1.16                  test    ax,ax           ;happens on big mem systems
    1.17 -                jz      @@fail
    1.18 +                jnz      tokb
    1.19 +
    1.20 +;***************************************************************
    1.21 +;u32 memtop_cmos()
    1.22 +;***************************************************************
    1.23 +
    1.24 +;memtop_cmos:
    1.25 +                pushf
    1.26 +                cli
    1.27 +                call	rdcmos17
    1.28 +                popf
    1.29  tokb:
    1.30                  xor     dx,dx
    1.31                  add     ah,4h           ;account for 1024 low kb
    1.32 @@ -105,24 +116,13 @@
    1.33                  ret
    1.34  ;        endp    _memtop_88
    1.35  
    1.36 -@@fail:
    1.37 -
    1.38  ;        proc    _memtopz near
    1.39  
    1.40  ;                call	_memtop_e801
    1.41  ;		jnz	@@ok
    1.42  ;                call	_memtop_88
    1.43  ;		jnz	@@ok
    1.44 -
    1.45 -;***************************************************************
    1.46 -;u32 memtop_cmos()
    1.47 -;***************************************************************
    1.48 -
    1.49 -                pushf
    1.50 -                cli
    1.51 -                call	rdcmos17
    1.52 -                popf
    1.53 -		jmp	tokb
    1.54 +;		jmp	memtop_cmos
    1.55  
    1.56  rdcmos17:       mov     al,18h		; read bytes 17-18 from CMOS
    1.57                  call    @@rdcmos
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/obexd/receipt	Sun Apr 02 16:56:55 2017 +0200
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="obexd"
     2.7 +VERSION="0.48"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="OBEX Server and Client."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://www.bluez.org/"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.14 +WGET_URL="https://www.kernel.org/pub/linux/bluetooth/$TARBALL"
    2.15 +
    2.16 +DEPENDS="bluez libusb libical glib dbus"
    2.17 +BUILD_DEPENDS="wget bluez-dev libusb-dev libical-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	./configure --prefix=/usr \
    2.23 +		--libexecdir=/usr/bin \
    2.24 +	$CONFIGURE_ARGS &&
    2.25 +	make &&
    2.26 +	make DESTDIR=$DESTDIR install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	mkdir -p $fs/usr
    2.33 +	cp -a $install/usr/bin $fs/usr
    2.34 +	cp -a $install/usr/share $fs/usr
    2.35 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/obexftp-dev/receipt	Sun Apr 02 16:56:55 2017 +0200
     3.3 @@ -0,0 +1,20 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="obexftp-dev"
     3.7 +VERSION="0.24.2"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="OBEX Server and Client, development files."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="http://triq.net/obex/"
    3.13 +WANTED="obexftp"
    3.14 +
    3.15 +DEPENDS="obexftp pkg-config"
    3.16 +
    3.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 +genpkg_rules()
    3.19 +{
    3.20 +	mkdir -p $fs/usr/lib
    3.21 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.22 +	cp -a $install/usr/include $fs/usr
    3.23 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/obexftp/receipt	Sun Apr 02 16:56:55 2017 +0200
     4.3 @@ -0,0 +1,32 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="obexftp"
     4.7 +VERSION="0.24.2"
     4.8 +CATEGORY="network"
     4.9 +SHORT_DESC="OBEX Server and Client."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +LICENSE="GPL2"
    4.12 +WEB_SITE="http://triq.net/obex/"
    4.13 +TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
    4.14 +WGET_URL="$SF_MIRROR/openobex/$PACKAGE/$VERSION/$TARBALL"
    4.15 +
    4.16 +DEPENDS="bluez openobex fuse expat"
    4.17 +BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse-dev expat-dev"
    4.18 +
    4.19 +# Rules to configure and make the package.
    4.20 +compile_rules()
    4.21 +{
    4.22 +	mkdir build
    4.23 +	cd build
    4.24 +	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    4.25 +	make &&
    4.26 +	make DESTDIR=$DESTDIR install
    4.27 +}
    4.28 +
    4.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.30 +genpkg_rules()
    4.31 +{
    4.32 +	mkdir -p $fs/usr/lib
    4.33 +	cp -a $install/usr/lib/*.so $fs/usr/lib
    4.34 +	cp -a $install/usr/bin $fs/usr
    4.35 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/openobex-dev/receipt	Sun Apr 02 16:56:55 2017 +0200
     5.3 @@ -0,0 +1,21 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="openobex-dev"
     5.7 +VERSION="1.7.1"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Object Exchange (OBEX) protocol, development files."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +LICENSE="GPL2"
    5.12 +WEB_SITE="http://www.openobex.org"
    5.13 +WANTED="openobex"
    5.14 +
    5.15 +DEPENDS="openobex pkg-config"
    5.16 +
    5.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 +genpkg_rules()
    5.19 +{
    5.20 +	mkdir -p $fs/usr/lib
    5.21 +	cp -a $install/usr/lib/cmake $fs/usr/lib
    5.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.23 +	cp -a $install/usr/include $fs/usr
    5.24 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/openobex/receipt	Sun Apr 02 16:56:55 2017 +0200
     6.3 @@ -0,0 +1,35 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="openobex"
     6.7 +VERSION="1.7.1"
     6.8 +CATEGORY="network"
     6.9 +SHORT_DESC="Object Exchange (OBEX) protocol."
    6.10 +MAINTAINER="pascal.bellard@slitaz.org"
    6.11 +LICENSE="GPL2"
    6.12 +WEB_SITE="http://www.openobex.org"
    6.13 +#WEB_SITE="http://dev.zuckschwerdt.org/openobex/wiki/"
    6.14 +TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
    6.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    6.16 +
    6.17 +DEPENDS="libusb bluez"
    6.18 +BUILD_DEPENDS="cmake libusb-dev bluez-dev"
    6.19 +
    6.20 +# Rules to configure and make the package.
    6.21 +compile_rules()
    6.22 +{
    6.23 +	mkdir build
    6.24 +	cd build
    6.25 +	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    6.26 +	make && make openobex-apps &&
    6.27 +	make DESTDIR=$DESTDIR install
    6.28 +}
    6.29 +
    6.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.31 +genpkg_rules()
    6.32 +{
    6.33 +	mkdir -p $fs/usr/lib
    6.34 +	cp -a $install/lib $fs
    6.35 +	cp -a $install/usr/bin $fs/usr
    6.36 +	cp -a $install/usr/sbin $fs/usr
    6.37 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.38 +}