2014-06-26 14:37:29 +00:00
|
|
|
# Template file for 'gpsbabel'
|
|
|
|
pkgname=gpsbabel
|
|
|
|
version=1.5.1
|
2014-09-25 08:58:39 +00:00
|
|
|
revision=2
|
2014-06-26 14:37:29 +00:00
|
|
|
build_style=gnu-configure
|
2014-10-27 17:05:31 +00:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-06-26 14:37:29 +00:00
|
|
|
homepage="http://www.gpsbabel.org/"
|
|
|
|
license="GPL-2"
|
2014-06-28 15:04:27 +00:00
|
|
|
short_desc="Converts waypoints, tracks, and routes between popular GPS formats"
|
2014-10-10 09:21:49 +00:00
|
|
|
hostmakedepends="perl>=5.20 docbook-xml xmlwf openjdk-jre offo-hyphenation"
|
|
|
|
makedepends="qt-devel libusb-compat-devel expat-devel libxslt-devel"
|
|
|
|
depends="desktop-file-utils"
|
2014-06-26 14:37:29 +00:00
|
|
|
distfiles="http://arch.p5n.pp.ru/~sergej/dl/2014/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="3feec7d43ca6cb5393645fe0df893d9f7bf5334849fa8abd4c5c3ee775c8cac3"
|
|
|
|
|
2014-10-10 09:21:49 +00:00
|
|
|
replaces="gpsbabel-gui>=0"
|
2014-09-29 15:04:28 +00:00
|
|
|
|
2014-06-26 14:37:29 +00:00
|
|
|
do_build(){
|
2014-10-10 09:21:49 +00:00
|
|
|
. /etc/profile.d/10_openjdk.sh
|
|
|
|
make ${makejobs}
|
2014-06-26 14:37:29 +00:00
|
|
|
make doc
|
2014-07-03 22:51:24 +00:00
|
|
|
cd gui
|
2014-06-26 14:37:29 +00:00
|
|
|
qmake
|
2014-10-10 09:21:49 +00:00
|
|
|
make ${makejobs}
|
2014-06-26 14:37:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install(){
|
|
|
|
make install DESTDIR=${DESTDIR}
|
|
|
|
vmkdir usr/share/doc/${pkgname}
|
2014-06-30 14:10:47 +00:00
|
|
|
vcopy "README* AUTHORS COPYING gpsbabel.pdf gpsbabel-sample.ini guibabel style" usr/share/doc/${pkgname}
|
2014-10-10 09:21:49 +00:00
|
|
|
vinstall ${wrksrc}/gui/gpsbabelfe 755 usr/bin
|
|
|
|
vinstall ${wrksrc}/gui/objects/gpsbabelfe-bin 755 usr/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 14:37:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_clean() {
|
2014-06-28 15:04:27 +00:00
|
|
|
# Remove temporary stuff from masterdir
|
2014-07-03 22:51:24 +00:00
|
|
|
rm -rf ${XBPS_BUILDDIR}/babelweb
|
2014-06-26 14:37:29 +00:00
|
|
|
}
|