X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Fscdp%2FMakefile;h=8c80131ce2e2d0240da81c4dbf3026f3864718cb;hb=2654e19be370556b402c18d1b5e48fb1769c604b;hp=f502080204ca1588c7117371a30db96fb215fb51;hpb=13fb59dd0549e4f09ae3600298eda16396cb95f1;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/net/scdp/Makefile b/net/scdp/Makefile index f502080204..8c80131ce2 100644 --- a/net/scdp/Makefile +++ b/net/scdp/Makefile @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk @@ -16,8 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/scdp PKG_MD5SUM:=7eafaf5a422e37d04715613993ed5d95 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -34,7 +32,7 @@ define Package/scdp/description selected interfaces and tells the connected switch (cisco only) where the host is connected. endef - + define Build/Configure $(call Build/Configure/Default, \ , \ @@ -44,12 +42,6 @@ define Build/Configure ) endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef - define Package/scdp/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scdp $(1)/usr/bin/