kumquat-buildroot/package/jsmin/jsmin.mk
Arnout Vandecappelle (Essensium/Mind) 69e64c42b7 all packages: use new host-xxx-package macros
This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:18:03 +02:00

26 lines
616 B
Makefile

JSMIN_VERSION = a9b47554d5684a55301a2eb7ca8480b7ee7630d4
JSMIN_SITE = git://github.com/douglascrockford/JSMin.git
define JSMIN_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin
endef
define JSMIN_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/jsmin $(TARGET_DIR)/usr/bin/jsmin
endef
define JSMIN_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/jsmin
endef
define HOST_JSMIN_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin
endef
define HOST_JSMIN_INSTALL_CMDS
$(INSTALL) -m 0755 -D $(@D)/jsmin $(HOST_DIR)/usr/bin/jsmin
endef
$(eval $(call GENTARGETS))
$(eval $(host-generic-package))