aboutsummaryrefslogtreecommitdiffstats
path: root/community/opencpn/APKBUILD
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2016-08-18 12:58:33 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-18 21:11:39 +0000
commitfad19051951129081c94d9ca641af6bbb1389e20 (patch)
tree4f6fac56923653086b9db2df0052a834b70b6966 /community/opencpn/APKBUILD
parent5df6fbc76284929c44d2db7db6d12f675a91958c (diff)
downloadaports-fad19051951129081c94d9ca641af6bbb1389e20.tar.bz2
aports-fad19051951129081c94d9ca641af6bbb1389e20.tar.xz
testing/[various]: move to community
Moves the following packages to community after successful build and testing. bogofilter corebird fbpanel hermes libdbi-drivers luufs netsurf opencpn py-sensehat rng-tools volumeicon
Diffstat (limited to 'community/opencpn/APKBUILD')
-rw-r--r--community/opencpn/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/opencpn/APKBUILD b/community/opencpn/APKBUILD
new file mode 100644
index 0000000000..db6d4bb385
--- /dev/null
+++ b/community/opencpn/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
+# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
+pkgname=opencpn
+pkgver=4.4.0
+pkgrel=0
+pkgdesc="OpenCPN is a cross platform electronic navigation system"
+url="http://opencpn.org"
+arch="x86 x86_64"
+license="GPL2"
+depends=""
+makedepends="wxgtk-dev libexecinfo-dev linux-headers curl-dev cmake gpsd
+ portaudio-dev tinyxml-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="$pkgname-$pkgver.tar.gz::https://github.com/OpenCPN/OpenCPN/archive/v${pkgver}.tar.gz
+CMakeList.txt.patch"
+
+builddir="$srcdir/OpenCPN-${pkgver}"
+
+build() {
+ cd "$builddir"
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUNDLE_GSHHS=CRUDE \
+ -DBUNDLE_TCDATA=ON \
+ -DBUNDLE_DOCS=ON || return 1
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="d991b49373c45f9756fa79c3b3a0f215 opencpn-4.4.0.tar.gz
+ed2a9317525fd5e06c3e51e582d86e40 CMakeList.txt.patch"
+sha256sums="577ae0fa44d31840e268b22c50b78130695fdfc796420514c93b238d5bde39b9 opencpn-4.4.0.tar.gz
+2f653299f09312c4218febf66855c1b56d8b0278163e3dd5868bf28b725b4df0 CMakeList.txt.patch"
+sha512sums="ebe4c3518d2addbbba36cec78719cb1c853969923e7ade4f6df78a8520224fef9f421b809f573cfa770acc9b9d31a90341d6114edc02a307682d0fca5c62b26b opencpn-4.4.0.tar.gz
+79daf622a5a9a54db81a09bc1004819bb4d20ce2959a4d3204e8ff09d4669e55ebb85b37961397cc6c8a00b87e081126685c51f6bdb78d9d324ce4f7c8b2f2ef CMakeList.txt.patch"