gpsbabel: updated to 1.5.2

This commit is contained in:
Philipp Hirsch 2015-04-10 22:22:55 +02:00
parent 8410949714
commit a36ef94ef0
1 changed files with 20 additions and 20 deletions

View File

@ -1,40 +1,40 @@
# Template file for 'gpsbabel'
pkgname=gpsbabel
version=1.5.1
revision=2
version=1.5.2
revision=1
build_style=gnu-configure
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
homepage="http://www.gpsbabel.org/"
license="GPL-2"
short_desc="Converts waypoints, tracks, and routes between popular GPS formats"
hostmakedepends="perl docbook-xml xmlwf openjdk-jre offo-hyphenation"
makedepends="qt-devel libusb-compat-devel expat-devel libxslt-devel"
depends="desktop-file-utils"
distfiles="http://arch.p5n.pp.ru/~sergej/dl/2014/${pkgname}-${version}.tar.gz"
checksum="3feec7d43ca6cb5393645fe0df893d9f7bf5334849fa8abd4c5c3ee775c8cac3"
distfiles="http://arch.p5n.pp.ru/~sergej/dl/${pkgname}-${version}.tar.gz"
checksum="c1a2f07d014d69dcce80e2ef8f23fe2fe3154324957b04d488da1b32458fad7b"
replaces="gpsbabel-gui>=0"
do_build(){
. /etc/profile.d/10_openjdk.sh
make ${makejobs}
make doc
cd gui
qmake
make ${makejobs}
. /etc/profile.d/10_openjdk.sh
make ${makejobs}
make doc
cd gui
qmake
make ${makejobs}
}
do_install(){
make install DESTDIR=${DESTDIR}
vmkdir usr/share/doc/${pkgname}
vcopy "README* AUTHORS COPYING gpsbabel.pdf gpsbabel-sample.ini guibabel style" usr/share/doc/${pkgname}
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
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
}
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${XBPS_BUILDDIR}/babelweb
# Remove temporary stuff from masterdir
rm -rf ${XBPS_BUILDDIR}/babelweb
}