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
:=2020-08-05
16 PKG_SOURCE_VERSION
:=c291088f631d1694f7ba0444b59677b194348da8
17 PKG_MIRROR_HASH
:=99bcce12701bb34dadb39689d95c2c5cf1e27719d0ecfd645d3957a8947025ac
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
))