libnetfilter-acct: fix license, cleanup
Signed-off-by: Nicolas Thill <nico@openwrt.org>
This commit is contained in:
parent
bf2c0d7fdb
commit
bfe2db0bd2
1 changed files with 3 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2009-2014 OpenWrt.org
|
# Copyright (C) 2009-2015 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.
|
||||||
|
@ -18,7 +18,7 @@ PKG_SOURCE_URL:= \
|
||||||
http://mirrors.evolva.ro/netfilter.org/libnetfilter_acct/
|
http://mirrors.evolva.ro/netfilter.org/libnetfilter_acct/
|
||||||
PKG_MD5SUM:=2118d9514c079839ebd9cb3144ad2ad7
|
PKG_MD5SUM:=2118d9514c079839ebd9cb3144ad2ad7
|
||||||
|
|
||||||
PKG_LICENSE:=LGPL-2.1
|
PKG_LICENSE:=LGPL-2.1+
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
|
PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
|
||||||
|
|
||||||
|
@ -30,9 +30,9 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
define Package/libnetfilter-acct
|
define Package/libnetfilter-acct
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
DEPENDS:=+libmnl
|
|
||||||
TITLE:=API to extended accounting infrastructure
|
TITLE:=API to extended accounting infrastructure
|
||||||
URL:=http://www.netfilter.org/projects/libnetfilter_acct/
|
URL:=http://www.netfilter.org/projects/libnetfilter_acct/
|
||||||
|
DEPENDS:=+libmnl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libnetfilter-acct/description
|
define Package/libnetfilter-acct/description
|
||||||
|
@ -46,21 +46,16 @@ CONFIGURE_ARGS += \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
|
||||||
LIBNFNETLINK_CFLAGS="$(TARGET_CPPFLAGS)" \
|
|
||||||
LIBNFNETLINK_LIBS="$(TARGET_LDFLAGS)"
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/usr/include/libnetfilter_acct \
|
$(PKG_INSTALL_DIR)/usr/include/libnetfilter_acct \
|
||||||
$(1)/usr/include/
|
$(1)/usr/include/
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/libnetfilter_acct*.{so*,a,la} \
|
$(PKG_INSTALL_DIR)/usr/lib/libnetfilter_acct*.{so*,a,la} \
|
||||||
$(1)/usr/lib/
|
$(1)/usr/lib/
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetfilter_acct.pc \
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetfilter_acct.pc \
|
||||||
|
|
Loading…
Reference in a new issue