2014-06-26 16:37:29 +02:00
|
|
|
# Template file for 'gpsbabel'
|
|
|
|
pkgname=gpsbabel
|
2015-04-10 22:22:55 +02:00
|
|
|
version=1.5.2
|
|
|
|
revision=1
|
2014-06-26 16:37:29 +02:00
|
|
|
build_style=gnu-configure
|
2015-04-10 22:22:55 +02:00
|
|
|
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
2014-06-26 16:37:29 +02:00
|
|
|
homepage="http://www.gpsbabel.org/"
|
|
|
|
license="GPL-2"
|
2014-06-28 17:04:27 +02:00
|
|
|
short_desc="Converts waypoints, tracks, and routes between popular GPS formats"
|
2015-03-27 10:50:40 +01:00
|
|
|
hostmakedepends="perl docbook-xml xmlwf openjdk-jre offo-hyphenation"
|
2014-10-10 11:21:49 +02:00
|
|
|
makedepends="qt-devel libusb-compat-devel expat-devel libxslt-devel"
|
|
|
|
depends="desktop-file-utils"
|
2015-04-10 22:22:55 +02:00
|
|
|
distfiles="http://arch.p5n.pp.ru/~sergej/dl/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="c1a2f07d014d69dcce80e2ef8f23fe2fe3154324957b04d488da1b32458fad7b"
|
2014-06-26 16:37:29 +02:00
|
|
|
|
2014-10-10 11:21:49 +02:00
|
|
|
replaces="gpsbabel-gui>=0"
|
2014-09-29 17:04:28 +02:00
|
|
|
|
2014-06-26 16:37:29 +02:00
|
|
|
do_build(){
|
2015-04-10 22:22:55 +02:00
|
|
|
. /etc/profile.d/10_openjdk.sh
|
|
|
|
make ${makejobs}
|
|
|
|
make doc
|
|
|
|
cd gui
|
|
|
|
qmake
|
|
|
|
make ${makejobs}
|
2014-06-26 16:37:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install(){
|
2015-04-10 22:22:55 +02:00
|
|
|
make install DESTDIR=${DESTDIR}
|
|
|
|
vmkdir usr/share/doc/${pkgname}
|
|
|
|
vcopy "README* AUTHORS COPYING gpsbabel.pdf gpsbabel-sample.ini guibabel style" usr/share/doc/${pkgname}
|
|
|
|
vbin ${wrksrc}/gui/gpsbabelfe
|
|
|
|
vbin ${wrksrc}/gui/objects/gpsbabelfe-bin
|
|
|
|
vinstall ${wrksrc}/gui/gpsbabel.desktop 644 usr/share/applications
|
|
|
|
vinstall ${wrksrc}/gui/images/appicon.png 644 usr/share/pixmaps gpsbabel.png
|
2014-06-26 16:37:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_clean() {
|
2015-04-10 22:22:55 +02:00
|
|
|
# Remove temporary stuff from masterdir
|
|
|
|
rm -rf ${XBPS_BUILDDIR}/babelweb
|
2014-06-26 16:37:29 +02:00
|
|
|
}
|