1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 15:48:40 +02:00
openwrt-packages/libs/avro/Makefile
Rosen Penev 68d3734dea
avro: Replace PKG_INSTALL with CMAKE_INSTALL
Allows removal of the InstallDev section as it's now implicit.

PKG_INSTALL is already defined in cmake.mk

This also installs a pkgconfig file. Added a patch to fix it up.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-21 15:52:29 -07:00

47 lines
1.0 KiB
Makefile

#
# avro - Makefile for Apache Avro library
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=avro-c
PKG_VERSION:=1.8.2
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@APACHE/avro/avro-$(PKG_VERSION)/c
PKG_HASH:=4639982b2b8fbd91fc7128fef672207129c959bb7900dd64b077ce4206edf10e
PKG_MAINTAINER:=John Clark <inindev@gmail.com>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
CMAKE_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/avro-c
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+jansson +zlib +liblzma
TITLE:=Apache Avro C Library
URL:=https://avro.apache.org
endef
define Package/avro-c/description
This package contains the Apache Avro C library.
endef
define Package/avro-c/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libavro.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,avro-c))