lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (950B)


      1 #
      2 # Copyright (C) 2006-2014 OpenWrt.org
      3 #
      4 # This is free software, licensed under the GNU General Public License v2.
      5 # See /LICENSE for more information.
      6 #
      7 
      8 include $(TOPDIR)/rules.mk
      9 
     10 PKG_NAME:=hdparm
     11 PKG_VERSION:=9.50
     12 PKG_RELEASE:=1
     13 PKG_USE_MIPS16:=0
     14 
     15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
     16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
     17 PKG_MD5SUM:=d380062ad6c4b40076736efbb640f1f5
     18 PKG_MAINTAINER:=Richard Kunze <richard.kunze@web.de>
     19 PKG_LICENSE:=BSD-Style Open Source License
     20 
     21 include $(INCLUDE_DIR)/package.mk
     22 
     23 TARGET_CFLAGS+=-D_GNU_SOURCE
     24 
     25 define Package/hdparm
     26   SECTION:=utils
     27   CATEGORY:=Utilities
     28   SUBMENU:=Disc
     29   TITLE:=Hard disk drive configuration utilitity
     30   URL:=http://sourceforge.net/projects/hdparm/
     31 endef
     32 
     33 define Package/hdparm/description
     34  get/set SATA/IDE device parameters
     35 endef
     36 
     37 define Package/hdparm/install
     38 	$(INSTALL_DIR) $(1)/sbin
     39 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
     40 endef
     41 
     42 $(eval $(call BuildPackage,hdparm))