summaryrefslogblamecommitdiff
path: root/bootstrap/classpath-0.93/APKBUILD
blob: 5ff2b6d3ad654101ef309d8d3d764fd59e159976 (plain) (tree)
1
2
3
4
5
6
7
8






                                                     
                                         



                                            
                                                                 

                                     














                                                       


                                                     


           
                                      
                                                 




                                                                                                                                                                   
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=classpath
pkgver=0.93
pkgrel=0
pkgdesc="GNU Classpath Java Class Library"
url="https://www.gnu.org/software/classpath/"
arch="all"
options="!check" #No test suite provided.
license="GPL-2.0-with-classpath-exception"
depends=""
makedepends="zlib-dev fastjar jikes libltdl"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz 
        add-aarch64-endianness.patch 
	em64t-vmfile-return.patch"

build() {
	export JAVAC="/usr/bin/jikes"
	export BOOTCLASSPATH="none"
	./configure \
		--disable-Werror \
		--disable-gmp \
		--disable-gtk-peer \
		--disable-gconf-peer \
		--disable-plugin \
		--disable-dssi \
		--disable-alsa \
		--disable-gjdoc \
		--bindir=/usr/libexec/classpath \
		--with-glibj-dir=/usr/share/classpath \
		--includedir=/usr/include/classpath \
		--prefix=/usr
	make DESTDIR="$pkgdir"
	}

package() {
	make DESTDIR="$pkgdir" install
	mv "$pkgdir"/usr/info "$pkgdir"/usr/share
	  }

sha512sums="69d831361085514bb7c5607fa694914cc01bc9fe589b7744d5534c97d434722193a1b68a336642d0dba9a3b50e9acea0364741790e9f19d196e5956a51c320b0  classpath-0.93.tar.gz
d3aeabaa4e7adcacc15d0122a0bd27621e89e2ec58d1af3ace620f7d923676e9d323c27f387790a66fec68db91174f9b14df4697f04ad270820259f749a1ae51  add-aarch64-endianness.patch
5cb45b3cb4bb18ea4befeec9b29c162dcf8c20ce5207e1b28986d7a7584e7ba32a0cc5489c5c22fa45821375936cf3f7dc9288b8711c26d044bcc53e084f48dd  em64t-vmfile-return.patch"