libgtk3: fix runtime dependencies
[openadk.git] / package / jamvm / Makefile
blob4c5e86dd4ab976aaf645f3de0296cfd9878d061b
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= jamvm
7 PKG_VERSION:= 2.0.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 76428e96df0ae9dd964c7a7c74c1e9a837e2f312c39e9a357fa8178f7eff80da
10 PKG_DESCR:= java virtual machine implementation
11 PKG_SECTION:= dev/lang
12 PKG_DEPENDS:= libffi zlib
13 PKG_BUILDDEP:= libffi zlib
14 PKG_NEEDS:= threads
15 PKG_URL:= http://jamvm.sourceforge.net
16 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
18 # use of deprecated swp{b}
19 PKG_SYSTEM_DEPENDS:= !raspberry-pi3 !raspberry-pi3p
21 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
23 include ${ADK_TOPDIR}/mk/host.mk
24 include ${ADK_TOPDIR}/mk/package.mk
26 $(eval $(call HOST_template,JAMVM,jamvm,${PKG_VERSION}-${PKG_RELEASE}))
27 $(eval $(call PKG_template,JAMVM,jamvm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
29 HOST_CONFIGURE_ARGS+= --libdir=$(STAGING_HOST_DIR)/usr/lib/jamvm \
30 --includedir=$(STAGING_HOST_DIR)/usr/include/jamvm \
31 --with-classpath-install-dir=$(STAGING_HOST_DIR)/usr
33 CONFIGURE_ARGS+= --enable-ffi
35 jamvm-install:
36 ${INSTALL_DIR} ${IDIR_JAMVM}/usr/bin
37 ${INSTALL_DIR} ${IDIR_JAMVM}/usr/lib
38 ${INSTALL_DIR} ${IDIR_JAMVM}/usr/share/jamvm
39 ${INSTALL_BIN} ${WRKINST}/usr/bin/jamvm \
40 ${IDIR_JAMVM}/usr/bin
41 ${CP} ${WRKINST}/usr/share/jamvm/classes.zip \
42 ${IDIR_JAMVM}/usr/share/jamvm
43 $(CP) ${WRKINST}/usr/lib/libjvm.so \
44 ${IDIR_JAMVM}/usr/lib
45 $(CP) ${WRKINST}/usr/lib/rt.jar \
46 ${IDIR_JAMVM}/usr/lib
48 include ${ADK_TOPDIR}/mk/host-bottom.mk
49 include ${ADK_TOPDIR}/mk/pkg-bottom.mk