summaryrefslogtreecommitdiff
path: root/bootstrap/classpath-0.93/APKBUILD
blob: 2fbd0d604b2fb1d614c69d3226e7fc064fc5ee5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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"

prepare() {
	update_config_guess
	default_prepare
}

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"