1 # Contributor: Bob Finch <w9ya@qrpqrci.net>
5 pkgdesc="Software solutions for high powered rocketry avionics"
7 url="http://www.altusmetrum.org/AltOS/"
9 depends=('openssl>=1.0.0' 'libusb-BETA' 'plplot-svn' 'sdcc' 'nickle' 'flite' 'kernel26>=2.6.33')
11 optdepends=('uucp: cu is included and is a bare boned terminal to serial program'
12 'cutemon: gui-based minimal terminal to serial program'
13 'google-earth: useful for viewing the kml files of the flight path'
14 'docbook-xsl: for making an html doc file from the xsl source'
15 'fop: for making a pdf doc file from the xsl source')
16 source=(altos.desktop)
17 md5sums=('7308c5b015991046b195d1a2c0987004')
19 _gitroot="git://git.gag.com/fw/altos"
24 # msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 # msg "The local files are updated."
33 # msg "GIT checkout done or server timeout"
34 # msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
45 ./configure --prefix=/usr
47 make DESTDIR="$pkgdir/" install
49 mkdir -p $startdir/pkg/usr/share/pixmaps
50 mkdir -p $startdir/pkg/usr/share/applications
51 install -m644 debian/*.xpm $startdir/pkg/usr/share/pixmaps
52 install -m644 ../*.desktop $startdir/pkg/usr/share/applications