added Cydia package files

This commit is contained in:
matthias.ringwald 2013-03-10 20:12:40 +00:00
parent 6a736e2994
commit 92b5f84b27
4 changed files with 24 additions and 0 deletions

12
layout/DEBIAN/control Normal file
View File

@ -0,0 +1,12 @@
Package: ch.ringwald.btstack
Name: BTstack
Description: Portable User-Space Bluetooth Stack
Section: Networking
Architecture: iphoneos-arm
Breaks: co.cocoanuts.celeste (<= 0.90)
Depends: ch.ringwald.springboardaccess (>= 0.2-974), preferenceloader (>= 2.0.2), firmware (>= 3.0), ldid
Maintainer: Matthias Ringwald <iphone@ringwald.ch>
Author: Matthias Ringwald <iphone@ringwald.ch>
Section: Development
Tag: role::developer
Version: 0.6

7
layout/DEBIAN/extrainst_ Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
rm -f /tmp/BlueToolH4 /usr/local/bin/BlueToolH4
cp /usr/sbin/BlueTool /tmp/BlueToolH4
/usr/local/bin/PatchBlueTool /tmp/BlueToolH4 2&> /dev/null
ldid -s /tmp/BlueToolH4
cp -f /tmp/BlueToolH4 /usr/local/bin
rm -f /tmp/BlueToolH4

2
layout/DEBIAN/postinst Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
/bin/launchctl load /Library/LaunchDaemons/ch.ringwald.BTstack.plist 2&> /dev/null

3
layout/DEBIAN/prerm Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
/bin/launchctl unload /Library/LaunchDaemons/ch.ringwald.BTstack.plist 2&> /dev/null
rm -f /usr/local/bin/BlueToolH4