diff options
| author | Nicolas Thill <nico@openwrt.org> | 2014-08-20 14:54:46 +0200 |
|---|---|---|
| committer | Nicolas Thill <nico@openwrt.org> | 2014-08-20 15:52:06 +0200 |
| commit | c57058da4436bee2a2d948fcffb8527c694392c6 (patch) | |
| tree | bac539bdaa731985d68f7345a9212af7ceb9eb8d /libs/liblo | |
| parent | 7df0f9bbbde22ab269b3f67e5318fec3c51a27aa (diff) | |
liblo: import from old packages feed
- update to latest version (v0.28)
- add license info
- add myself as maintainer
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Diffstat (limited to 'libs/liblo')
| -rw-r--r-- | libs/liblo/Makefile | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/libs/liblo/Makefile b/libs/liblo/Makefile new file mode 100644 index 000000000..4ab9ad7ed --- /dev/null +++ b/libs/liblo/Makefile @@ -0,0 +1,71 @@ +# +# Copyright (C) 2010-2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=liblo +PKG_VERSION:=0.28 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/liblo +PKG_MD5SUM:=e2a4391a08b49bb316c03e2034e06fa2 + +PKG_LICENSE:=LGPL-2.1+ +PKG_LICENSE_FILE:=COPYING +PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org> + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/liblo/Default + SUBMENU:=Sound + TITLE:=Lightweight Open Sound Control (OSC) + URL:=http://liblo.sourceforge.net/ +endef + +define Package/liblo +$(call Package/liblo/Default) + SECTION:=libs + CATEGORY:=Libraries + TITLE+= library + DEPENDS:= +libpthread +endef + +define Package/liblo-utils +$(call Package/liblo/Default) + SECTION:=utils + CATEGORY:=Utilities + TITLE+= utilities + DEPENDS:= +liblo +endef + +TARGET_CFLAGS += \ + -Wno-error=maybe-uninitialized \ + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/lo $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblo.* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/liblo.pc $(1)/usr/lib/pkgconfig/ +endef + +define Package/liblo/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblo.so.* $(1)/usr/lib/ +endef + +define Package/liblo-utils/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/osc{dump,send} $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,liblo)) +$(eval $(call BuildPackage,liblo-utils)) |
