2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=libmicrohttpd
13 ftp
://ftp.gnu.org
/gnu
/libmicrohttpd
/libmicrohttpd-0.4
.4.
tar.gz
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@GNU
/libmicrohttpd
17 PKG_MD5SUM
:=bcd61ebb10286379f55c7db9c79e0465
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/libmicrohttpd
28 URL
:=http
://www.gnu.org
/software
/libmicrohttpd
31 define Package
/libmicrohttpd
/description
32 GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server
as part of another application.
35 define Build
/InstallDev
36 $(INSTALL_DIR
) $(1)/usr
/include/
37 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
38 $(INSTALL_DIR
) $(1)/usr
/lib
/
39 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libmicrohttpd.so
* $(1)/usr
/lib
/
42 define Package
/libmicrohttpd
/install
43 $(INSTALL_DIR
) $(1)/usr
/lib
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libmicrohttpd.so
* $(1)/usr
/lib
/
47 $(eval
$(call BuildPackage
,libmicrohttpd
))