aboutsummaryrefslogtreecommitdiff
path: root/package/sredird/sredird.mk
blob: ad91f6a4122d841badc9be0c9b178e73445478b2 (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
25
26
27
#############################################################
#
# sredird
#
#############################################################

SREDIRD_VERSION = 2.2.1-1.1
SREDIRD_SOURCE = sredird_$(SREDIRD_VERSION).tar.gz
SREDIRD_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/sredird

define SREDIRD_BUILD_CMDS
	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef

define SREDIRD_INSTALL_TARGET_CMDS
	$(INSTALL) -D -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird
endef

define SREDIRD_UNINSTALL_TARGET_CMDS
	rm -f $(TARGET_DIR)/usr/sbin/sredird
endef

define SREDIRD_CLEAN_CMDS
	rm -f $(@D)/sredird
endef

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