diff options
Diffstat (limited to 'Swift')
-rwxr-xr-x | Swift/Packaging/Debian/package.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh index d693c0f..b825d2f 100755 --- a/Swift/Packaging/Debian/package.sh +++ b/Swift/Packaging/Debian/package.sh @@ -1,14 +1,17 @@ #!/bin/sh #If you want to share tar output (note: necessary if you want multiple archs with the same hashed tarballs) # set SHARED_DIR - YOU MUST MAKE SURE YOU HAVE A TRAILING / ON SHARED_DIR +# If you want to pass parameters to debuild, set them in SWIFT_DEBUILD_FLAGS +# e.g. -S for just source, -b for just binaries + set -e -x export PYTHONPATH=../../../BuildTools/SCons VERSION=${VERSION:=`../../../BuildTools/GetBuildVersion.py swift`} DEBIAN_VERSION=`../../../BuildTools/DebianizeVersion.py $VERSION` DIRNAME=swift-im-$DEBIAN_VERSION SWIFTEN_SOVERSION=`../../../BuildTools/GetBuildVersion.py swift --major` if [ -z "$SHARED_DIR" ]; then @@ -82,10 +85,10 @@ else fi cat $DIRNAME/debian/control.in | sed -e "s/%SWIFTEN_SOVERSION%/$SWIFTEN_SOVERSION/g" | sed -e "s/%WEBKIT_DEPENDENCY%/$WEBKIT_DEPENDENCY/g" > $DIRNAME/debian/control rm $DIRNAME/debian/control.in mv $DIRNAME/debian/libswiften.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION.install cat ../../../COPYING | awk '/--- END OF OpenSSL/,EOF' | tail -n +3 >> $DIRNAME/debian/copyright # Build cd $DIRNAME set +e -debuild -i -I --lintian-opts --pedantic +debuild -i -I ${SWIFT_DEBUILD_FLAGS} --lintian-opts --pedantic |