added iPhone Installer.app packaging
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@405 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
e92b175b0d
commit
9fcc16d562
3 changed files with 87 additions and 1 deletions
19
Makefile.am
19
Makefile.am
|
@ -14,3 +14,22 @@ distbin : README all
|
|||
cp $(srcdir)/README $(srcdir)/NEWS $(srcdir)/COPYING $(distdir)
|
||||
tar zcf $(distdir)-$(BINSUFFIX).tar.gz $(distdir)
|
||||
rm -rf $(distdir)
|
||||
|
||||
iphone : SyncEvolution.plist
|
||||
|
||||
IPHONE_FILENAME = syncevolution-$(VERSION)-iphone.zip
|
||||
|
||||
SyncEvolution.plist : SyncEvolution.plist.in $(IPHONE_FILENAME)
|
||||
sed -e 's/__FILENAME__/$(IPHONE_FILENAME)/' \
|
||||
-e 's/__VERSION__/$(VERSION)/' \
|
||||
-e 's/__SIZE__/$(shell ls -l $(IPHONE_FILENAME) | sed -e 's/ */ /g' | cut -d ' ' -f 5)/' \
|
||||
$< >$@
|
||||
|
||||
$(IPHONE_FILENAME) : all
|
||||
rm -rf syncevolution-iphone $@
|
||||
$(MAKE) DESTDIR=`pwd`/syncevolution-iphone install
|
||||
rm -rf `ls -1 -d syncevolution-iphone/usr/share/doc/syncevolution/*/spds/sources/* | grep -v addressbook`
|
||||
perl -pi -e 's;SyncEvolution test #1;;;' \
|
||||
-e 's;^type = text/(x-)?vcard;type = addressbook;m;' \
|
||||
syncevolution-iphone/usr/share/doc/syncevolution/*/spds/sources/addressbook/config.txt
|
||||
cd syncevolution-iphone && zip -r ../$(IPHONE_FILENAME) .
|
||||
|
|
67
SyncEvolution.plist.in
Normal file
67
SyncEvolution.plist.in
Normal file
|
@ -0,0 +1,67 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>bundleIdentifier</key>
|
||||
<string>de.estamos.iphone.SyncEvolution</string>
|
||||
<key>name</key>
|
||||
<string>SyncEvolution</string>
|
||||
<key>version</key>
|
||||
<string>__VERSION__</string>
|
||||
<key>location</key>
|
||||
<string>http://www.estamos.de/iphone/zips/__FILENAME__</string>
|
||||
<key>size</key>
|
||||
<string>__SIZE__</string>
|
||||
<key>description</key>
|
||||
<string>A command line tool to synchronize the address book via SyncML.</string>
|
||||
<key>url</key>
|
||||
<string>http://www.estamos.de/projects/SyncML/</string>
|
||||
<key>scripts</key>
|
||||
<dict>
|
||||
<key>install</key>
|
||||
<array>
|
||||
<array>
|
||||
<string>CopyPath</string>
|
||||
<string>usr/bin/syncevolution</string>
|
||||
<string>/usr/bin/syncevolution</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>CopyPath</string>
|
||||
<string>usr/bin/synccompare</string>
|
||||
<string>/usr/bin/synccompare</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>SetStatus</string>
|
||||
<string>Run 'syncevolution <server>' to synchronize.</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>IfNot</string>
|
||||
<array>
|
||||
<array>
|
||||
<string>ExistsPath</string>
|
||||
<string>/var/root/.sync4j</string>
|
||||
</array>
|
||||
</array>
|
||||
<array>
|
||||
<array>
|
||||
<string>CopyPath</string>
|
||||
<string>usr/share/doc/syncevolution/</string>
|
||||
<string>/var/root/.sync4j/evolution</string>
|
||||
</array>
|
||||
</array>
|
||||
</array>
|
||||
</array>
|
||||
<key>uninstall</key>
|
||||
<array>
|
||||
<array>
|
||||
<string>RemovePath</string>
|
||||
<string>/usr/bin/syncevolution</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>RemovePath</string>
|
||||
<string>/usr/bin/synccompare</string>
|
||||
</array>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
|
@ -1,7 +1,7 @@
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(src/syncevolution.cpp)
|
||||
AM_INIT_AUTOMAKE(syncevolution, 0.7-pre1)
|
||||
AM_INIT_AUTOMAKE(syncevolution, 0.7-pre)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_LIBTOOL_DLOPEN
|
||||
|
||||
|
|
Loading…
Reference in a new issue