2 # Copyright (C) 2006-2012 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_URL
=$(PROJECT_GIT
)/project
/libnl-tiny.git
15 PKG_SOURCE_DATE
:=2021-11-21
16 PKG_SOURCE_VERSION
:=8e0555fb39f51a5d6436b4f1370850caa03611ea
17 PKG_MIRROR_HASH
:=2cfbcc62384535674a2c0157cb24a0736520fcb66ed50be23bf9141c8488885f
21 PKG_MAINTAINER
:=Felix Fietkau
<nbd@nbd.name
>
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/cmake.mk
26 define Package
/libnl-tiny
29 TITLE
:=netlink socket library
33 define Package
/libnl-tiny
/description
34 This package contains a stripped down version of libnl
37 define Build
/InstallDev
38 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
$(1)/usr
/include/libnl-tiny
39 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libnl-tiny
/* $(1)/usr
/include/libnl-tiny
40 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/libnl-tiny.so
$(1)/usr
/lib
/
41 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/libnl-tiny.
pc $(1)/usr
/lib
/pkgconfig
44 define Package
/libnl-tiny
/install
45 $(INSTALL_DIR
) $(1)/usr
/lib
46 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/libnl-tiny.so
$(1)/usr
/lib
/
49 $(eval
$(call BuildPackage
,libnl-tiny
))