2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=libnl-1.0
-pre7.
tar.gz
16 PKG_SOURCE_URL
:=http
://www.suug.ch
/~tgr
/libnl
/files
/
17 PKG_MD5SUM
:=db9f6265c370f09defd2d2fa3540758e
19 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=netlink socket library
25 URL
:=http
://www.suug.ch
/~tgr
/libnl
/
28 define Package
/libnl
/description
29 This package contains a library for applications dealing with netlink sockets
33 $(call Build
/Compile
/Default
)
34 make
-C
$(PKG_BUILD_DIR
) \
35 DESTDIR
="$(PKG_INSTALL_DIR)" \
39 ifneq ($(CONFIG_LINUX_2_6_23
),)
40 define Build
/InstallDev
41 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
42 $(CP
) $(PKG_BUILD_DIR
)/include/linux
$(1)/usr
/include/
45 define Build
/UninstallDev
48 define Package
/libnl
/install
49 $(INSTALL_DIR
) $(1)/usr
/lib
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/libnl.so
.1 $(1)/usr
/lib
/
54 $(eval
$(call BuildPackage
,libnl
))