1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=ucode-mod-html
6 PKG_MAINTAINER
:=Jo-Philipp Wich
<jo@mein.io
>
8 include $(INCLUDE_DIR
)/package.mk
10 define Package
/ucode-mod-html
13 TITLE
:=ucode HTML utility library
17 define Package
/ucode-mod-html
/install
18 $(INSTALL_DIR
) $(1)/usr
/lib
/ucode
19 $(CP
) $(PKG_BUILD_DIR
)/html.so
$(1)/usr
/lib
/ucode
/
22 define Build
/Configure
26 $(TARGET_CC
) $(TARGET_CFLAGS
) $(TARGET_LDFLAGS
) $(FPIC
) \
27 -Wall
-ffunction-sections
-Wl
,--gc-sections
-shared \
28 -o
$(PKG_BUILD_DIR
)/html.so
$(PKG_BUILD_DIR
)/html.c
31 $(eval
$(call BuildPackage
,ucode-mod-html
))