summaryrefslogtreecommitdiffstats
path: root/package/fis/fis.mk
blob: 60c2ae895ae76564baf5f85d0e8af8ec8f86becc (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
#############################################################
#
# fis
#
#############################################################

FIS_SITE = http://svn.chezphil.org/utils/trunk
FIS_SITE_METHOD = svn
FIS_VERSION = 2892

define FIS_BUILD_CMDS
	$(TARGET_CC) $(TARGET_CFLAGS) -std=c99 -o $(@D)/fis \
		$(@D)/fis.c $(@D)/crc.c $(TARGE_LDFLAGS)
endef

define FIS_INSTALL_TARGET_CMDS
	$(INSTALL) -m 0755 -D $(@D)/fis $(TARGET_DIR)/sbin/fis
endef

define FIS_UNINSTALL_TARGET_CMDS
	rm -f $(TARGET_DIR)/sbin/fis
endef

$(eval $(generic-package))