massive Makefile cleanup, add missing 'svn:keywords' property
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -10,14 +11,13 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=arpwatch
|
||||
PKG_VERSION:=2.1a11
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=9ecd00db892737431b0e524f3e52e19e
|
||||
|
||||
PKG_SOURCE_URL:=http://nbd.vd-s.ath.cx/openwrt
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://nbd.vd-s.ath.cx/openwrt
|
||||
PKG_MD5SUM:=9ecd00db892737431b0e524f3e52e19e
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@ -26,7 +26,8 @@ define Package/arpwatch
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpcap
|
||||
TITLE:=Ethernet station activity monitor
|
||||
DESCRIPTION:=Ethernet monitor program for keeping track of ethernet/ip address pairings
|
||||
DESCRIPTION:=\
|
||||
Ethernet monitor program for keeping track of ethernet/ip address pairings
|
||||
URL:=http://nbd.vd-s.ath.cx/openwrt
|
||||
endef
|
||||
|
||||
@ -35,8 +36,6 @@ define Package/arpwatch/conffiles
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
ARPDIR=/etc/arpwatch \
|
||||
CCOPT="$(TARGET_CFLAGS)" \
|
||||
@ -45,9 +44,10 @@ define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/arpwatch/install
|
||||
install -m0755 -d $(1)/usr/sbin $(1)/etc/arpwatch
|
||||
$(CP) $(PKG_BUILD_DIR)/arp{watch,snmp} $(1)/usr/sbin/
|
||||
install -d -m0755 $(1)/etc/arpwatch
|
||||
$(CP) $(PKG_BUILD_DIR)/arp.dat $(1)/etc/arpwatch/
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
$(CP) $(PKG_BUILD_DIR)/arp{watch,snmp} $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,arpwatch))
|
||||
|
Reference in New Issue
Block a user