[packages] libnfnetlink: update to v0.40, install dev pkgconfig file
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14315 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
697a83a4c1
commit
a3305c6908
@ -1,20 +1,20 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007 OpenWrt.org
|
# Copyright (C) 2007-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
# $Id: $
|
# $Id$
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libnfnetlink
|
PKG_NAME:=libnfnetlink
|
||||||
PKG_VERSION:=0.0.39
|
PKG_VERSION:=0.0.40
|
||||||
PKG_RELEASE:=0
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=ftp://ftp.netfilter.org/pub/libnfnetlink/
|
PKG_SOURCE_URL:=ftp://ftp.netfilter.org/pub/libnfnetlink/
|
||||||
PKG_MD5SUM:=348fed8c1edbe5b873ffc7b192140093
|
PKG_MD5SUM:=3fe19dc4b05ba7e7e6216123097c2819
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -22,8 +22,8 @@ define Package/libnfnetlink
|
|||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
DEPENDS:=@LINUX_2_6
|
DEPENDS:=@LINUX_2_6
|
||||||
TITLE:=libnfnetlink
|
TITLE:=A low-level library for netfilter related kernel/userspace communication
|
||||||
URL:=http://netfilter.org/projects/libnfnetlink/index.html
|
URL:=http://netfilter.org/projects/libnfnetlink/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libnfnetlink/description
|
define Package/libnfnetlink/description
|
||||||
@ -46,17 +46,26 @@ define Build/Compile
|
|||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/include/libnfnetlink
|
$(INSTALL_DIR) $(1)/usr/include/libnfnetlink
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/libnfnetlink/{libnfnetlink,linux_nfnetlink,linux_nfnetlink_compat}.h $(1)/usr/include/libnfnetlink/
|
$(CP) \
|
||||||
mkdir -p $(1)/usr/lib
|
$(PKG_INSTALL_DIR)/usr/include/libnfnetlink/{libnfnetlink,linux_nfnetlink,linux_nfnetlink_compat}.h \
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnfnetlink.{a,so*} $(1)/usr/lib/
|
$(1)/usr/include/libnfnetlink/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/libnfnetlink.{a,so*} \
|
||||||
|
$(1)/usr/lib/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnfnetlink.pc \
|
||||||
|
$(1)/usr/lib/pkgconfig/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libnfnetlink/install
|
define Package/libnfnetlink/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnfnetlink.so.* $(1)/usr/lib/
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/libnfnetlink.so.* \
|
||||||
|
$(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libnfnetlink))
|
$(eval $(call BuildPackage,libnfnetlink))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user