From 1204a2269e88a4dab45be6fa7286882f71ccaa2f Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sun, 20 Sep 2009 18:49:40 +0000 Subject: [PATCH] little package script --- SpringBoardAccess/control | 10 ++++++++++ SpringBoardAccess/package.sh | 21 +++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 SpringBoardAccess/control create mode 100755 SpringBoardAccess/package.sh diff --git a/SpringBoardAccess/control b/SpringBoardAccess/control new file mode 100644 index 000000000..e771a5dd1 --- /dev/null +++ b/SpringBoardAccess/control @@ -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 +Author: Matthias Ringwald +Section: Development diff --git a/SpringBoardAccess/package.sh b/SpringBoardAccess/package.sh new file mode 100755 index 000000000..33039bc42 --- /dev/null +++ b/SpringBoardAccess/package.sh @@ -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