#
-# Copyright (C) 2009-2014 OpenWrt.org
+# Copyright (C) 2009-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
http://mirrors.evolva.ro/netfilter.org/libnetfilter_acct/
PKG_MD5SUM:=2118d9514c079839ebd9cb3144ad2ad7
-PKG_LICENSE:=LGPL-2.1
+PKG_LICENSE:=LGPL-2.1+
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
define Package/libnetfilter-acct
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:=+libmnl
TITLE:=API to extended accounting infrastructure
URL:=http://www.netfilter.org/projects/libnetfilter_acct/
+ DEPENDS:=+libmnl
endef
define Package/libnetfilter-acct/description
--enable-static \
--enable-shared \
-CONFIGURE_VARS += \
- LIBNFNETLINK_CFLAGS="$(TARGET_CPPFLAGS)" \
- LIBNFNETLINK_LIBS="$(TARGET_LDFLAGS)"
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/libnetfilter_acct \
$(1)/usr/include/
-
$(INSTALL_DIR) $(1)/usr/lib
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libnetfilter_acct*.{so*,a,la} \
$(1)/usr/lib/
-
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetfilter_acct.pc \