2 # Copyright (C) 2006-2009 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
13 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
15 include $(INCLUDE_DIR
)/package.mk
20 TITLE
:=UNIX socket accounting
/wiewer program
24 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)
28 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 $(TARGET_CONFIGURE_OPTS
) \
30 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
34 define Package
/pipacs
/install
35 $(INSTALL_DIR
) $(1)/usr
/bin
36 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/pipacs
$(1)/usr
/bin
/
39 $(eval
$(call BuildPackage
,pipacs
))