kumquat-buildroot/package/fconfig/fconfig.mk
Martin Banky e3da887298 fconfig: convert to gentargets and bump to 20080329
[Peter: no strip, remove _BINARY vars, add homepage URL]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-29 22:14:27 +02:00

29 lines
702 B
Makefile

#############################################################
#
# fconfig
#
#############################################################
FCONFIG_VERSION = 20080329
FCONFIG_SOURCE = fconfig-$(FCONFIG_VERSION).tar.gz
FCONFIG_SITE = http://andrzejekiert.ovh.org/software/fconfig/
define FCONFIG_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)"
endef
define FCONFIG_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/fconfig $(TARGET_DIR)/sbin/fconfig
endef
define FCONFIG_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/sbin/fconfig
endef
define FCONFIG_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(eval $(call GENTARGETS,package,fconfig))