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
19 PKG_REMOVE_FILES
:=autogen.sh aclocal.m4
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/liblo
/Default
27 TITLE
:=Lightweight Open Sound Control
(OSC
)
28 URL
:=http
://liblo.sourceforge.net
/
32 $(call Package
/liblo
/Default
)
39 define Package
/liblo-utils
40 $(call Package
/liblo
/Default
)
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/include
49 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
58 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
59 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
60 .
/usr
/lib
/pkgconfig
/liblo.
pc \
61 $(1)/usr
/lib
/pkgconfig
/ \
65 define Package
/liblo
/install
66 $(INSTALL_DIR
) $(1)/usr
/lib
67 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
68 .
/usr
/lib
/liblo.so.
* \
73 define Package
/liblo-utils
/install
74 $(INSTALL_DIR
) $(1)/usr
/bin
75 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
82 $(eval
$(call BuildPackage
,liblo
))
83 $(eval
$(call BuildPackage
,liblo-utils
))