2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-02-07 01:51:57 +01:00
|
|
|
#
|
|
|
|
# fconfig
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2010-09-26 09:14:01 +02:00
|
|
|
FCONFIG_VERSION = 20080329
|
|
|
|
FCONFIG_SOURCE = fconfig-$(FCONFIG_VERSION).tar.gz
|
|
|
|
FCONFIG_SITE = http://andrzejekiert.ovh.org/software/fconfig/
|
2008-02-07 01:51:57 +01:00
|
|
|
|
2010-09-26 09:14:01 +02:00
|
|
|
define FCONFIG_BUILD_CMDS
|
|
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
2008-02-07 01:51:57 +01:00
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
2010-09-26 09:14:01 +02:00
|
|
|
endef
|
2008-02-07 01:51:57 +01:00
|
|
|
|
2010-09-26 09:14:01 +02:00
|
|
|
define FCONFIG_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/fconfig $(TARGET_DIR)/sbin/fconfig
|
|
|
|
endef
|
2008-02-07 01:51:57 +01:00
|
|
|
|
2010-09-26 09:14:01 +02:00
|
|
|
define FCONFIG_UNINSTALL_TARGET_CMDS
|
|
|
|
rm -f $(TARGET_DIR)/sbin/fconfig
|
|
|
|
endef
|
2008-02-07 01:51:57 +01:00
|
|
|
|
2010-09-26 09:14:01 +02:00
|
|
|
define FCONFIG_CLEAN_CMDS
|
|
|
|
-$(MAKE) -C $(@D) clean
|
|
|
|
endef
|
2008-02-07 01:51:57 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|