Author: ks156
Date: 2008-12-30 15:12:59 +0100 (Tue, 30 Dec 2008)
New Revision: 3373
Modified:
software_suite_v2/tuxware/installers/unix/trunk/build.sh
Log:
* Added support to build a 64bit package.
Modified: software_suite_v2/tuxware/installers/unix/trunk/build.sh
===================================================================
--- software_suite_v2/tuxware/installers/unix/trunk/build.sh 2008-12-30
14:00:27 UTC (rev 3372)
+++ software_suite_v2/tuxware/installers/unix/trunk/build.sh 2008-12-30
14:12:59 UTC (rev 3373)
@@ -469,7 +469,7 @@
SIZE=`du -s $BUILD_DIR |awk '{print $1}'`
echo "Installed-Size: $SIZE" >> $CONTROL
echo "Maintainer: KySoH <[email protected]>" >> $CONTROL
- echo "Architecture: i386" >> $CONTROL
+ echo "Architecture: $ARCH" >> $CONTROL
echo "Version: $VERSION" >> $CONTROL
echo "Depends: $DEPS" >> $CONTROL
echo "Description: Base installation for TuxDroid" >> $CONTROL
@@ -533,7 +533,7 @@
echo "--- Tux Droid packages creator for Linux ---"
echo ""
echo " Usage :"
- echo " ./build.sh -t TYPE -v VERSION -[qws] [-hpu]"
+ echo " ./build.sh -t TYPE -v VERSION -[qws] [-ahpu]"
echo ""
echo " Needed parameters :"
echo " -t TYPE: tar, deb"
@@ -549,6 +549,8 @@
echo " If -u is not specified, the package will be created"
echo " newer version of Ubuntu and Debian"
echo " -p PREF: Set the installation prefix. The default value is /usr"
+ echo " -a : Use this option if you want to build a 64bits package"
+ echo " This will works only if you're on a 64bit OS"
echo " -h : Display this help and exit"
echo ""
echo " To use this script, you must have a system with compiling "
@@ -604,7 +606,7 @@
SIZE=`du -s $BUILD_DIR |awk '{print $1}'`
echo "Installed-Size: $SIZE" >> $CONTROL
echo "Maintainer: KySoH <[email protected]>" >> $CONTROL
- echo "Architecture: i386" >> $CONTROL
+ echo "Architecture: $ARCH" >> $CONTROL
echo "Version: $VERSION" >> $CONTROL
echo "Depends: $DEPS" >> $CONTROL
echo "Description: ChatterTux resource for Tux Droid" >> $CONTROL
@@ -645,9 +647,13 @@
python-xml, libportaudio2, openjdk-6-jre, python-dev, python-setuptools, sox, \
lame"
CHATTER=False
+ARCH=i386
-while getopts "v:qwst:uhp:" options; do
+while getopts "av:qwst:uhp:" options; do
case $options in
+ a)
+ ARCH=amd64
+ ;;
q)
SOURCE=$QC
VERSION_TXT=versionQC.txt
------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn