2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-07-17 02:23:31 +02:00
|
|
|
#
|
|
|
|
# tinyhttpd
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2012-04-03 10:55:29 +02:00
|
|
|
TINYHTTPD_VERSION = 0.1.0
|
2012-08-26 01:52:48 +02:00
|
|
|
TINYHTTPD_SITE = http://downloads.sourceforge.net/project/tinyhttpd/tinyhttpd%20source/tinyhttpd%20$(TINYHTTPD_VERSION)
|
2012-04-03 10:55:29 +02:00
|
|
|
|
|
|
|
define TINYHTTPD_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
|
|
|
endef
|
|
|
|
|
|
|
|
define TINYHTTPD_INSTALL_TARGET_CMDS
|
2012-04-03 22:51:05 +02:00
|
|
|
$(INSTALL) -m 0755 -D $(@D)/httpd $(TARGET_DIR)/usr/sbin/tinyhttpd
|
2012-04-03 10:55:29 +02:00
|
|
|
$(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S85tinyhttpd
|
2007-07-17 02:23:31 +02:00
|
|
|
mkdir -p $(TARGET_DIR)/var/www
|
2012-04-03 10:55:29 +02:00
|
|
|
endef
|
2007-07-17 02:23:31 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|