2 # Copyright (C) 2007 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
15 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).dfsg
.1.orig.
tar.gz
16 PKG_SOURCE_URL
:=http
://ftp2.de.debian.org
/debian
/pool
/main
/l
/lsof
17 PKG_MD5SUM
:=6751a1cbdefb751b7cb2e22e6e5bdacb
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
).dfsg
.1.orig
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=LiSt Open Files
- a diagnostic tool
28 URL
:=http
://www.akadia.com
/services
/lsof_intro.html
31 define Build
/Configure
32 cd
$(PKG_BUILD_DIR
); \
37 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
39 CFLAGS
="$(TARGET_CFLAGS)" \
40 LDFLAGS
="$(TARGET_LDFLAGS)"
43 define Package
/lsof
/install
44 $(INSTALL_DIR
) $(1)/usr
/bin
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/lsof
$(1)/usr
/bin
48 $(eval
$(call BuildPackage
,lsof
))