replace lots of manual install commands with INSTALL_* variables

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2006-11-23 00:29:07 +00:00
parent 61e30ef635
commit c0e5247848
269 changed files with 1008 additions and 1008 deletions

View File

@ -69,21 +69,21 @@ define Build/Compile
endef
define Package/libsablevm-classpath/install
install -d -m0755 $(1)/usr/lib/sablevm-classpath
$(INSTALL_DIR) $(1)/usr/lib/sablevm-classpath
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sablevm-classpath/libjava*.so $(1)/usr/lib/sablevm-classpath/
install -d -m0755 $(1)/usr/lib/security
$(INSTALL_DIR) $(1)/usr/lib/security
$(CP) $(PKG_INSTALL_DIR)/usr/lib/security/classpath.security $(1)/usr/lib/security/
endef
define Package/sablevm-classpath-full/install
install -d -m0755 $(1)/usr/share/sablevm-classpath
$(INSTALL_DIR) $(1)/usr/share/sablevm-classpath
$(CP) $(PKG_INSTALL_DIR)/usr/share/sablevm-classpath/{libclasspath,resources}.jar \
$(1)/usr/share/sablevm-classpath/
endef
define Package/sablevm-classpath-mini/install
install -d -m0755 $(1)/usr/share/sablevm-classpath
install -m0755 $(PKG_BUILD_DIR)/lib/mini.jar \
$(INSTALL_DIR) $(1)/usr/share/sablevm-classpath
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/mini.jar \
$(1)/usr/share/sablevm-classpath/libclasspath.jar
endef