2 # Copyright (C) 2009-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=libnetfilter_acct
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=https
://netfilter.org
/projects
/libnetfilter_acct
/files
16 PKG_HASH
:=4250ceef3efe2034f4ac05906c3ee427db31b9b0a2df41b2744f4bf79a959a1a
18 PKG_LICENSE
:=LGPL-2.1
-or-later
19 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Nicolas Thill
<nico@openwrt.org
>
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libnetfilter-acct
30 TITLE
:=API to extended accounting infrastructure
31 URL
:=http
://www.netfilter.org
/projects
/libnetfilter_acct
/
35 define Package
/libnetfilter-acct
/description
36 libnetfilter_acct is a userspace library providing a programming interface
37 (API
) to the extended accounting infrastructure.
40 TARGET_CFLAGS
+= $(FPIC
)
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/include
50 $(PKG_INSTALL_DIR
)/usr
/include/libnetfilter_acct \
52 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(PKG_INSTALL_DIR
)/usr
/lib
/libnetfilter_acct
*.
{so
*,a
,la
} \
56 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
58 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libnetfilter_acct.
pc \
59 $(1)/usr
/lib
/pkgconfig
/
62 define Package
/libnetfilter-acct
/install
63 $(INSTALL_DIR
) $(1)/usr
/lib
64 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libnetfilter_acct.so.
* $(1)/usr
/lib
/
67 $(eval
$(call BuildPackage
,libnetfilter-acct
))