aboutsummaryrefslogtreecommitdiffstats
path: root/testing/proj4
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-08-26 18:58:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-08-26 18:58:31 +0000
commit6a7462183a89a4eb032ff9c07c11f1aa41750570 (patch)
treea1379be5e398ce2972e10e90a15193603d4c813e /testing/proj4
parent77ace1b99d1dc39d02b2b67ebbd040659feea80c (diff)
downloadaports-6a7462183a89a4eb032ff9c07c11f1aa41750570.tar.bz2
aports-6a7462183a89a4eb032ff9c07c11f1aa41750570.tar.xz
testing/proj4: move back from unmaintained
Diffstat (limited to 'testing/proj4')
-rw-r--r--testing/proj4/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/proj4/APKBUILD b/testing/proj4/APKBUILD
new file mode 100644
index 0000000000..365a9341fa
--- /dev/null
+++ b/testing/proj4/APKBUILD
@@ -0,0 +1,45 @@
+pkgname=proj4
+pkgver=4.8.0
+pkgrel=0
+pkgdesc="PROJ.4 - Cartographic Projections Library"
+url="http://trac.osgeo.org/proj/"
+arch="all"
+license="MIT"
+options=""
+depends=""
+makedepends=""
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://download.osgeo.org/proj/proj-$pkgver.tar.gz
+ "
+
+_builddir="$srcdir"/proj-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ update_config_sub || return 1
+}
+
+build () {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --without-jni \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p $pkgdir/usr/bin
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="d815838c92a29179298c126effbb1537 proj-4.8.0.tar.gz"
+sha256sums="2db2dbf0fece8d9880679154e0d6d1ce7c694dd8e08b4d091028093d87a9d1b5 proj-4.8.0.tar.gz"
+sha512sums="6076289f8bdf1ca3b76ea879d8c221a668fcb4a6deec7cf6a293c489dfe0b21c36da0c6ed2c7a0b8042436106e851018aa429b4731f4ff018fea2fdb8887ec76 proj-4.8.0.tar.gz"