blob: 6b4c7782e53de74342d296d4cf8ebf498f4f2c25 (
plain)
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
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${TOPDIR}/rules.mk
PKG_NAME:= jamvm
PKG_VERSION:= 1.5.3
PKG_RELEASE:= 1
PKG_MD5SUM:= ce886163658d748113b0570dfae12aea
PKG_DESCR:= A Java Virtual Machine (JVM) implementation
PKG_SECTION:= misc
PKG_DEPENDS:= libffi zlib
PKG_URL:= http://jamvm.sourceforge.net
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,JAMVM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= autotool gnu
CONFIGURE_ARGS+= --enable-ffi
do-build:
${INSTALL_DIR} ${WRKINST}/usr/bin
${INSTALL_DIR} ${WRKINST}/usr/share/jamvm
${MAKE} -C ${WRKBUILD}/src \
${TARGET_CONFIGURE_OPTS}
${CP} ${WRKBUILD}/src/jamvm ${WRKINST}/usr/bin
${MAKE} -C ${WRKBUILD}/lib
${CP} ${WRKBUILD}/lib/classes.zip ${WRKINST}/usr/share/jamvm
do-install:
${INSTALL_DIR} ${IDIR_JAMVM}/usr/bin
${INSTALL_DIR} ${IDIR_JAMVM}/usr/share/jamvm
${INSTALL_BIN} ${WRKINST}/usr/bin/jamvm ${IDIR_JAMVM}/usr/bin
${CP} ${WRKINST}/usr/share/jamvm/classes.zip ${IDIR_JAMVM}/usr/share/jamvm
include ${TOPDIR}/mk/pkg-bottom.mk
|