export BUILD_NAME=14.09
TARGET_DIR=Cura-${BUILD_NAME}-${BUILD_TARGET}
+##Debian package release
+debian_64_release_counter=scripts/linux/debian_amd64_release
+debian_64_release=$(<$debian_64_release_counter)
+debian_32_release_counter=scripts/linux/debian_i386_release
+debian_32_release=$(<$debian_32_release_counter)
+
+
##Which versions of external programs to use
WIN_PORTABLE_PY_VERSION=2.7.2.1
#############################
if [ "$BUILD_TARGET" = "debian_i386" ]; then
+ ((debian_32_release += 1))
+ echo $debian_32_release > $debian_32_release_counter
export CXX="g++ -m32"
if [ ! -d "Power" ]; then
git clone https://github.com/GreatFruitOmsk/Power
sudo chmod 755 scripts/linux/${BUILD_TARGET}/usr -R
sudo chmod 755 scripts/linux/${BUILD_TARGET}/DEBIAN -R
cd scripts/linux
- dpkg-deb --build ${BUILD_TARGET} $(dirname ${TARGET_DIR})/cura_${BUILD_NAME}-${BUILD_TARGET}.deb
+ dpkg-deb --build ${BUILD_TARGET} $(dirname ${TARGET_DIR})/cura_${BUILD_NAME}-${debian_32_release}-${BUILD_TARGET}.deb
sudo chown `id -un`:`id -gn` ${BUILD_TARGET} -R
exit
fi
#############################
if [ "$BUILD_TARGET" = "debian_amd64" ]; then
+ ((debian_64_release += 1))
+ echo $debian_64_release > $debian_64_release_counter
export CXX="g++ -m64"
if [ ! -d "Power" ]; then
git clone https://github.com/GreatFruitOmsk/Power
sudo chmod 755 scripts/linux/${BUILD_TARGET}/usr -R
sudo chmod 755 scripts/linux/${BUILD_TARGET}/DEBIAN -R
cd scripts/linux
- dpkg-deb --build ${BUILD_TARGET} $(dirname ${TARGET_DIR})/cura_${BUILD_NAME}-${BUILD_TARGET}.deb
+ dpkg-deb --build ${BUILD_TARGET} $(dirname ${TARGET_DIR})/cura_${BUILD_NAME}-${debian_64_release}-${BUILD_TARGET}.deb
sudo chown `id -un`:`id -gn` ${BUILD_TARGET} -R
exit
fi
+Source: cura
Package: cura
-Version: 14.01
+Version: 14.09
+Maintainer: Aleph Objects, Inc. <info@alephobjects.com>
Section: misc
Priority: optional
Architecture: amd64
Essential: no
Depends: python-wxgtk2.8, python-opengl, python-serial, python-numpy
-Maintainer: Daid <daid303@gmail.com>
Provides: cura
Installed-Size: 10000
Description: Cura is a full software solution for 3D printing,