2006-02-23 15:26:10 +00:00
|
|
|
# Description: Open-source 2D CAD system
|
|
|
|
# URL: http://www.qcad.org/
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: qt3
|
|
|
|
|
|
|
|
name=qcad
|
|
|
|
version=2.0.5.0
|
|
|
|
release=1
|
|
|
|
source=(http://www.ribbonsoft.com/archives/$name/$name-$version-1-community.src.tar.gz)
|
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version-1-community.src
|
|
|
|
sed -i '3d' mkspecs/defs.pro
|
|
|
|
cd scripts
|
|
|
|
export QTDIR=/usr/share/qt
|
|
|
|
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
|
|
|
|
sh build_qcad.sh
|
|
|
|
|
|
|
|
cd $SRC/$name-$version-1-community.src/qcad
|
|
|
|
mkdir -p $PKG/usr/{bin,share/qcad}
|
|
|
|
cp qcad $PKG/usr/bin
|
|
|
|
cp -r fonts patterns $PKG/usr/share/qcad
|
|
|
|
}
|