2 # Copyright (C) 2010-2014 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
:=e2a4391a08b49bb316c03e2034e06fa2
18 PKG_LICENSE
:=LGPL-2.1
+
19 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Nicolas Thill
<nico@openwrt.org
>
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/liblo
/Default
27 TITLE
:=Lightweight Open Sound Control
(OSC
)
28 URL
:=http
://liblo.sourceforge.net
/
32 $(call Package
/liblo
/Default
)
40 define Package
/liblo-utils
41 $(call Package
/liblo
/Default
)
48 -Wno-error
=maybe-uninitialized \
50 define Build
/InstallDev
51 $(INSTALL_DIR
) $(1)/usr
/include
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/lo
$(1)/usr
/include/
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/liblo.
* $(1)/usr
/lib
/
55 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/liblo.
pc $(1)/usr
/lib
/pkgconfig
/
59 define Package
/liblo
/install
60 $(INSTALL_DIR
) $(1)/usr
/lib
61 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/liblo.so.
* $(1)/usr
/lib
/
64 define Package
/liblo-utils
/install
65 $(INSTALL_DIR
) $(1)/usr
/bin
66 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/osc
{dump
,send
} $(1)/usr
/bin
/
69 $(eval
$(call BuildPackage
,liblo
))
70 $(eval
$(call BuildPackage
,liblo-utils
))