From 69b9883fb845f1503ca1d963016359993715569b Mon Sep 17 00:00:00 2001 From: swalker Date: Sun, 20 Feb 2011 04:56:15 +0000 Subject: [PATCH] [packages] dmidecode: update to 2.11, use PKG_INSTALL git-svn-id: svn://svn.openwrt.org/openwrt/packages@25602 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/dmidecode/Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/utils/dmidecode/Makefile b/utils/dmidecode/Makefile index 518acfec3..c1f4a9f52 100644 --- a/utils/dmidecode/Makefile +++ b/utils/dmidecode/Makefile @@ -1,5 +1,5 @@ -# -# Copyright (C) 2007-2009 OpenWrt.org +# +# Copyright (C) 2007-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dmidecode -PKG_VERSION:=2.10 +PKG_VERSION:=2.11 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/dmidecode/ -PKG_MD5SUM:=3c9c4d55a40b78600f3b43bfa64616f9 +PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/dmidecode +PKG_MD5SUM:=535487cc041f2db746587cf40a2059f0 + +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -31,9 +33,12 @@ define Package/dmidecode/description standard. endef +MAKE_FLAGS += \ + prefix="/usr" + define Package/dmidecode/install $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(PKG_NAME) $(1)/usr/sbin/ endef $(eval $(call BuildPackage,dmidecode))