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
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
16 include $(INCLUDE_DIR)/package.mk
21 TITLE:=UNIX socket accounting/wiewer program
25 mkdir -p $(PKG_BUILD_DIR)
26 $(CP) ./src/* $(PKG_BUILD_DIR)
30 $(MAKE) -C $(PKG_BUILD_DIR) \
31 $(TARGET_CONFIGURE_OPTS) \
32 CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
36 define Package/pipacs/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/pipacs $(1)/usr/bin/
41 $(eval $(call BuildPackage,pipacs))