diff --git a/layout/DEBIAN/control b/layout/DEBIAN/control new file mode 100644 index 000000000..2edb13528 --- /dev/null +++ b/layout/DEBIAN/control @@ -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 +Author: Matthias Ringwald +Section: Development +Tag: role::developer +Version: 0.6 diff --git a/layout/DEBIAN/extrainst_ b/layout/DEBIAN/extrainst_ new file mode 100755 index 000000000..26a47b0a6 --- /dev/null +++ b/layout/DEBIAN/extrainst_ @@ -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 diff --git a/layout/DEBIAN/postinst b/layout/DEBIAN/postinst new file mode 100755 index 000000000..638de8543 --- /dev/null +++ b/layout/DEBIAN/postinst @@ -0,0 +1,2 @@ +#!/bin/sh +/bin/launchctl load /Library/LaunchDaemons/ch.ringwald.BTstack.plist 2&> /dev/null diff --git a/layout/DEBIAN/prerm b/layout/DEBIAN/prerm new file mode 100755 index 000000000..4851a5287 --- /dev/null +++ b/layout/DEBIAN/prerm @@ -0,0 +1,3 @@ +#!/bin/sh +/bin/launchctl unload /Library/LaunchDaemons/ch.ringwald.BTstack.plist 2&> /dev/null +rm -f /usr/local/bin/BlueToolH4