Root/libnl-1/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=libnl-1
8PKG_VERSION:=1.1
9PKG_RELEASE:=1
10
11PKG_SOURCE:=libnl-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://www.infradead.org/~tgr/libnl/files
13PKG_MD5SUM:=ae970ccd9144e132b68664f98e7ceeb1
14PKG_INSTALL:=1
15
16PKG_BUILD_DIR=$(BUILD_DIR)/libnl-$(PKG_VERSION)
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/libnl-1
21    TITLE:=library for applications dealing with netlink sockets
22    SECTION:=libs
23    CATEGORY:=Libraries
24    URL:=http://www.infradead.org/~tgr/libnl/
25endef
26
27define Package/libnl-1/description
28libnl is a library for applications dealing with netlink sockets.
29The library provides an interface for raw netlink messaging and
30various netlink family specific interfaces.
31endef
32
33define Build/InstallDev
34    $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
35    $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib
36    $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
37endef
38
39define Package/libnl-1/install
40    $(INSTALL_DIR) $(1)/usr/lib
41    $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
42endef
43
44$(eval $(call BuildPackage,libnl-1))
45

Archive Download this file



interactive