ixp4xx: Updated to 2.6.24.2 - tested on nas100d, fsg3 and nslu2
[openwrt.git] / package / libnl / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=libnl
12 PKG_VERSION:=1.0-pre8
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=libnl-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://people.suug.ch/~tgr/libnl/files/
17 PKG_MD5SUM:=cc54b3ed25ba45d45a966b9355030810
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/libnl
22 SECTION:=net
23 CATEGORY:=Base system
24 TITLE:=netlink socket library
25 URL:=http://people.suug.ch/~tgr/libnl/
26 endef
27
28 define Package/libnl/description
29 This package contains a library for applications dealing with netlink sockets
30 endef
31
32 define Build/Compile
33 $(call Build/Compile/Default)
34 make -C $(PKG_BUILD_DIR) \
35 DESTDIR="$(PKG_INSTALL_DIR)" \
36 install
37 endef
38
39 ifneq ($(CONFIG_LINUX_2_6_23),)
40 define Build/InstallDev
41 $(INSTALL_DIR) $(1)
42 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
43 mkdir -p $(1)/usr/include/libnl
44 $(CP) $(PKG_BUILD_DIR)/include/linux $(1)/usr/include/libnl/
45 endef
46
47 define Package/libnl/install
48 $(INSTALL_DIR) $(1)/usr/lib
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libnl.so.1 $(1)/usr/lib/
50 endef
51 endif
52
53 $(eval $(call BuildPackage,libnl))
This page took 0.042808 seconds and 5 git commands to generate.