mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-10 19:13:23 +00:00
provide deb package
This commit is contained in:
parent
f55bb93403
commit
7befd7793b
1
TODO.txt
1
TODO.txt
@ -1,6 +1,7 @@
|
||||
/* new todo file for BTstack */
|
||||
|
||||
NEXT:
|
||||
- use message id for SpringBoardAccess
|
||||
- make package script for WiiMote demo
|
||||
- prepend all source files with 'new BSD' copyright header
|
||||
- provide test version by setting up APT repository within BTstack SVN
|
||||
|
12
example/WiiMoteOpenGLDemo/control
Normal file
12
example/WiiMoteOpenGLDemo/control
Normal file
@ -0,0 +1,12 @@
|
||||
Package: ch.ringwald.wiimoteopengldemo
|
||||
Name: WiiMote OpenGL-ES Demo
|
||||
Description: BTstack Demo
|
||||
This demo shows how a virtual WiiMote can mirror
|
||||
the behavior of a real one thanks to the open-source
|
||||
BTstack Bluetooth Stack. A WiiMote is needed!
|
||||
Section: Networking
|
||||
Architecture: iphoneos-arm
|
||||
Homepage: http://code.google.com/p/btstack/
|
||||
Depends: ch.ringwald.btstack
|
||||
Maintainer: Matthias Ringwald <iphone@ringwald.ch>
|
||||
Author: Matthias Ringwald <iphone@ringwald.ch>
|
26
example/WiiMoteOpenGLDemo/package.sh
Executable file
26
example/WiiMoteOpenGLDemo/package.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
PACKAGE=WiiMoteOpenGLDemo
|
||||
|
||||
VERSION=1.0
|
||||
REVISION=`svn info | grep Revision | cut -d " " -f 2`
|
||||
ARCHIVE=$PACKAGE-$VERSION-$REVISION.deb
|
||||
|
||||
echo Creating $PACKAGE package version $VERSION revision $REVISION
|
||||
rm -rf $PACKAGE
|
||||
|
||||
mkdir -p $PACKAGE/DEBIAN
|
||||
cp control $PACKAGE/DEBIAN
|
||||
echo "Version: $VERSION-$REVISION" >> $PACKAGE/DEBIAN/control
|
||||
|
||||
mkdir -p $PACKAGE/Applications/
|
||||
cp -r build/Debug-iphoneos/WiiMoteOpenGLDemo.app $PACKAGE/Applications
|
||||
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
|
||||
ldid -S $PACKAGE/Applications/WiiMoteOpenGLDemo.app/WiiMoteOpenGLDemo
|
||||
|
||||
echo Packaging $PACKAGE
|
||||
export COPYFILE_DISABLE
|
||||
export COPY_EXTENDED_ATTRIBUTES_DISABLE
|
||||
dpkg-deb -b $PACKAGE $ARCHIVE
|
||||
dpkg-deb --info $ARCHIVE
|
||||
dpkg-deb --contents $ARCHIVE
|
Loading…
x
Reference in New Issue
Block a user