little package script

This commit is contained in:
matthias.ringwald 2009-09-20 18:49:40 +00:00
parent a04cd8c2ab
commit 1204a2269e
2 changed files with 31 additions and 0 deletions

10
SpringBoardAccess/control Normal file
View File

@ -0,0 +1,10 @@
Package: ch.ringwald.springboardaccess
Name: SpringBoardAccess
Version: 0.1
Description: Controls status bar icons from daemons
Section: Networking
Architecture: iphoneos-arm
Depends: mobilesubstrate (>= 0.9.2966-1)
Maintainer: Matthias Ringwald <iphone@ringwald.ch>
Author: Matthias Ringwald <iphone@ringwald.ch>
Section: Development

21
SpringBoardAccess/package.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
echo Creating SpringBoardAccess package
rm -rf SpringBoardAccess
mkdir -p SpringBoardAccess/DEBIAN
cp control SpringBoardAccess/DEBIAN
mkdir -p SpringBoardAccess/usr/local/bin
cp SpringBoardAccess-test SpringBoardAccess/usr/local/bin
mkdir -p SpringBoardAccess/Library/MobileSubstrate/DynamicLibraries
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S SpringBoardAccess.dylib
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S SpringBoardAccess-test
cp SpringBoardAccess.dylib SpringBoardAccess.plist SpringBoardAccess/Library/MobileSubstrate/DynamicLibraries
echo Packaging SpringBoardAccess
export COPYFILE_DISABLE
export COPY_EXTENDED_ATTRIBUTES_DISABLE
dpkg-deb -b SpringBoardAccess
ls -la SpringBoardAccess.deb