fix makefile
[openwrt/svn-archive/archive.git] / lang / sablevm / Makefile
index 170bf95332acd61c018f2b6602c51982ef83ae7f..9cc63e663a6c9cdec5cacb20c908f8b665041766 100644 (file)
@@ -11,13 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=sablevm
 PKG_VERSION:=1.13
 PKG_RELEASE:=1
-PKG_MD5SUM:=d5828200032bfe921dd43e450931e38c
 
-PKG_SOURCE_URL:=http://sablevm.org/download/release/$(PKG_VERSION)/
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://sablevm.org/download/release/$(PKG_VERSION)/
+PKG_MD5SUM:=d5828200032bfe921dd43e450931e38c
 PKG_CAT:=zcat
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -28,17 +28,20 @@ define Package/sablevm
   DEPENDS:=+libffi-sable +libltdl +libpopt +libpthread +zlib
   TITLE:=A Java Virtual Machine (JVM) implementation
   DESCRIPTION:=SableVM is a robust, extremely portable, efficient, and specifications-\\\
-       -compliant Java virtual machine that aims to be easy to maintain and to\\\
-       extend. It features a state-of-the-art and efficient interpreter engine.\\\
-       Its source code is very accessible and easy to understand. It also has\\\
-       many robustness features that have been the object of careful design. \\\
+    -compliant Java virtual machine that aims to be easy to maintain and to \\\
+    extend. It features a state-of-the-art and efficient interpreter engine.\\\
+    Its source code is very accessible and easy to understand. It also has \\\
+    many robustness features that have been the object of careful design.
   URL:=http://sablevm.org/
 endef
 
 
 define Build/Configure
-$(call Build/Configure/Default,--enable-shared \
-               --disable-static, LDFLAGS="-L$(STAGING_DIR)/usr/lib -lffi -lltdl -lpopt -lz")
+  $(call Build/Configure/Default, \
+       --enable-shared \
+       --disable-static, \
+       LIBS="-lffi -lltdl -lpopt -lz" \
+  )
 endef
 
 define Build/Compile