#!/bin/bash # build LabPlot .deb package on Xandros 2.0 # Stefan Gerlach, 19.12.04 LVERSION=1.4.0 DIST=Xandros-2.0 export CFLAGS="-O2" export CXXFLAGS="-O2" ######################### DIR=LabPlot-"$LVERSION" SRC=LabPlot-"$LVERSION".tar.gz if [ ! -f "$SRC" ] ; then echo "$SRC not found!" exit fi tar zxvf $SRC cd $DIR mkdir debian cp admin/debian."$DIST"/* debian dpkg-buildpackage