mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 09:55:45 +00:00
added version and svn revision number to archive
This commit is contained in:
parent
c50afb23e7
commit
d60c81ccea
@ -1,6 +1,5 @@
|
|||||||
Package: ch.ringwald.springboardaccess
|
Package: ch.ringwald.springboardaccess
|
||||||
Name: SpringBoardAccess
|
Name: SpringBoardAccess
|
||||||
Version: 0.1
|
|
||||||
Description: Controls status bar icons from daemons
|
Description: Controls status bar icons from daemons
|
||||||
Section: Networking
|
Section: Networking
|
||||||
Architecture: iphoneos-arm
|
Architecture: iphoneos-arm
|
||||||
|
@ -1,19 +1,26 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo Creating SpringBoardAccess package
|
PACKAGE=SpringBoardAccess
|
||||||
rm -rf SpringBoardAccess
|
|
||||||
|
|
||||||
mkdir -p SpringBoardAccess/DEBIAN
|
VERSION=0.1
|
||||||
cp control SpringBoardAccess/DEBIAN
|
REVISION=`svn info | grep Revision | cut -d " " -f 2`
|
||||||
|
ARCHIVE=$PACKAGE-$VERSION-$REVISION.deb
|
||||||
|
|
||||||
mkdir -p SpringBoardAccess/usr/local/bin
|
echo Creating $PACKAGE package version $VERSION revision $REVISION
|
||||||
cp SpringBoardAccess-test SpringBoardAccess/usr/local/bin
|
rm -rf $PACKAGE
|
||||||
|
|
||||||
mkdir -p SpringBoardAccess/Library/MobileSubstrate/DynamicLibraries
|
mkdir -p $PACKAGE/DEBIAN
|
||||||
cp SpringBoardAccess.dylib SpringBoardAccess.plist SpringBoardAccess/Library/MobileSubstrate/DynamicLibraries
|
cp control $PACKAGE/DEBIAN
|
||||||
|
echo "Version: $VERSION-$REVISION" >> $PACKAGE/DEBIAN/control
|
||||||
|
|
||||||
echo Packaging SpringBoardAccess
|
mkdir -p $PACKAGE/usr/local/bin
|
||||||
|
cp SpringBoardAccess-test $PACKAGE/usr/local/bin
|
||||||
|
|
||||||
|
mkdir -p $PACKAGE/Library/MobileSubstrate/DynamicLibraries
|
||||||
|
cp SpringBoardAccess.dylib SpringBoardAccess.plist $PACKAGE/Library/MobileSubstrate/DynamicLibraries
|
||||||
|
|
||||||
|
echo Packaging $PACKAGE
|
||||||
export COPYFILE_DISABLE
|
export COPYFILE_DISABLE
|
||||||
export COPY_EXTENDED_ATTRIBUTES_DISABLE
|
export COPY_EXTENDED_ATTRIBUTES_DISABLE
|
||||||
dpkg-deb -b SpringBoardAccess
|
dpkg-deb -b $PACKAGE $ARCHIVE
|
||||||
ls -la SpringBoardAccess.deb
|
dpkg-deb --info $ARCHIVE
|
||||||
|
Loading…
Reference in New Issue
Block a user