2 # Copyright (C) 2010 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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/liblo
16 PKG_MD5SUM
:=5351de14262560e15e7f23865293b16f
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/liblo
/Default
25 TITLE
:=Lightweight Open Sound Control
(OSC
)
26 URL
:=http
://liblo.sourceforge.net
/
30 $(call Package
/liblo
/Default
)
37 define Package
/liblo-utils
38 $(call Package
/liblo
/Default
)
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/include
47 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
53 .
/usr
/lib
/liblo.
{a
,so
*} \
56 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
57 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
58 .
/usr
/lib
/pkgconfig
/liblo.
pc \
59 $(1)/usr
/lib
/pkgconfig
/ \
63 define Package
/liblo
/install
64 $(INSTALL_DIR
) $(1)/usr
/lib
65 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
66 .
/usr
/lib
/liblo.so.
* \
71 define Package
/liblo-utils
/install
72 $(INSTALL_DIR
) $(1)/usr
/bin
73 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
80 $(eval
$(call BuildPackage
,liblo
))
81 $(eval
$(call BuildPackage
,liblo-utils
))