r611 - in x86/trunk/packages: . hdparm

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Mon Sep 5 11:52:16 PDT 2005


Author: jhuntwork
Date: 2005-09-05 12:52:16 -0600 (Mon, 05 Sep 2005)
New Revision: 611

Added:
   x86/trunk/packages/hdparm/
   x86/trunk/packages/hdparm/Makefile
Log:
Added missing hdparm Makefile

Added: x86/trunk/packages/hdparm/Makefile
===================================================================
--- x86/trunk/packages/hdparm/Makefile	2005-09-05 18:43:01 UTC (rev 610)
+++ x86/trunk/packages/hdparm/Makefile	2005-09-05 18:52:16 UTC (rev 611)
@@ -0,0 +1,47 @@
+# hdparm Makefile
+#==============================================================================
+
+NM= hdparm
+VRS= 6.1
+DIR= $(NM)-$(VRS)
+
+FILE= $(DIR).tar.bz2
+URL-$(FILE)= $(HTTPBLFS)/F-H/$(FILE)
+SHA-$(FILE)= d405619894d31c217271abd3d5ae77e57fefd173
+
+# Targets
+# =============================================================================
+
+include $(ROOT)/scripts/functions
+
+chroot:
+	@chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+
+stage2: Makefile $(FILE)
+	@$(std_build)
+
+compile-stage2:
+	@$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+	@make $(PM) >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@make install >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
+clean:
+	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list