2014-06-26 16:37:29 +02:00
|
|
|
# Template file for 'gpsbabel'
|
|
|
|
pkgname=gpsbabel
|
|
|
|
version=1.5.1
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
|
|
|
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"
|
2014-06-30 00:31:44 +02:00
|
|
|
hostmakedepends="perl>=5.18 docbook-xml xmlwf offo-hyphenation"
|
|
|
|
makedepends="qt-devel libusb-compat-devel expat-devel libxml2-devel libxslt-devel desktop-file-utils"
|
2014-06-26 16:37:29 +02:00
|
|
|
distfiles="http://arch.p5n.pp.ru/~sergej/dl/2014/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="3feec7d43ca6cb5393645fe0df893d9f7bf5334849fa8abd4c5c3ee775c8cac3"
|
|
|
|
|
|
|
|
do_build(){
|
|
|
|
. /etc/profile.d/oracle-jre.sh
|
|
|
|
make
|
|
|
|
make doc
|
|
|
|
cd gui
|
|
|
|
qmake
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install(){
|
|
|
|
make install DESTDIR=${DESTDIR}
|
|
|
|
vmkdir usr/share/doc/${pkgname}
|
2014-06-30 16:10:47 +02:00
|
|
|
vcopy "README* AUTHORS COPYING gpsbabel.pdf gpsbabel-sample.ini guibabel style" usr/share/doc/${pkgname}
|
2014-06-26 16:37:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_clean() {
|
2014-06-28 17:04:27 +02:00
|
|
|
# Remove temporary stuff from masterdir
|
2014-06-26 16:37:29 +02:00
|
|
|
rm -rf ${XBPS_BUILDDIR}/babelweb
|
|
|
|
}
|
|
|
|
|
|
|
|
gpsbabel-gui_package() {
|
|
|
|
short_desc+=" - Qt4 GUI"
|
2014-06-28 17:04:27 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-06-26 16:37:29 +02:00
|
|
|
pkg_install() {
|
2014-06-30 16:10:47 +02:00
|
|
|
vinstall ${wrksrc}/gui/gpsbabelfe 755 usr/bin
|
|
|
|
vinstall ${wrksrc}/gui/objects/gpsbabelfe-bin 755 usr/bin
|
2014-06-30 00:31:44 +02:00
|
|
|
vinstall ${wrksrc}/gui/gpsbabel.desktop 644 usr/share/applications
|
|
|
|
vinstall ${wrksrc}/gui/images/appicon.png 644 usr/share/pixmaps
|
2014-06-26 16:37:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|