summaryrefslogtreecommitdiffstats
path: root/package/eeprog/eeprog.mk
blob: 070fcd4b371dee158e6e40ec0fbc1600d48c138d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# eeprog
#
#############################################################

EEPROG_VERSION = 0.7.6
EEPROG_SITE = http://codesink.org/download

define EEPROG_BUILD_CMDS
	$(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(@D)
endef

define EEPROG_INSTALL_TARGET_CMDS
	$(INSTALL) -D $(@D)/eeprog $(TARGET_DIR)/usr/bin/eeprog
endef

define EEPROG_UNINSTALL_TARGET_CMDS
	rm -f $(TARGET_DIR)/usr/bin/eeprog
endef

$(eval $(call GENTARGETS,package,eeprog))