r604 - in x86/trunk: . packages packages/which

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sat Sep 3 17:30:31 PDT 2005


Author: jhuntwork
Date: 2005-09-03 18:30:30 -0600 (Sat, 03 Sep 2005)
New Revision: 604

Added:
   x86/trunk/packages/which/
   x86/trunk/packages/which/Makefile
Modified:
   x86/trunk/Makefile
Log:
Added Gnu which

Modified: x86/trunk/Makefile
===================================================================
--- x86/trunk/Makefile	2005-09-04 00:17:23 UTC (rev 603)
+++ x86/trunk/Makefile	2005-09-04 00:30:30 UTC (rev 604)
@@ -207,9 +207,9 @@
 	ch-xchat ch-tcpwrappers ch-portmap ch-nfs-utils ch-traceroute \
 	ch-dialog ch-ncftp ch-pciutils ch-nALFS ch-device-mapper ch-LVM2 \
 	ch-dhcpcd ch-distcc ch-ppp ch-rp-pppoe ch-libaal ch-reiser4progs \
-	ch-squashfs ch-cpio ch-mutt ch-msmtp ch-slrn ch-mdadm ch-strace \
-	ch-eject ch-linux ch-klibc ch-unionfs ch-initramfs ch-cdrtools \
-	ch-blfs-bootscripts ch-syslinux ch-nALFS-profile
+	ch-squashfs ch-cpio ch-mutt ch-msmtp ch-slrn ch-mdadm ch-which \
+	ch-strace ch-eject ch-linux ch-klibc ch-unionfs ch-initramfs \
+	ch-cdrtools ch-blfs-bootscripts ch-syslinux ch-nALFS-profile
 
 wget-list:
 	@>wget-list ; \

Added: x86/trunk/packages/which/Makefile
===================================================================
--- x86/trunk/packages/which/Makefile	2005-09-04 00:17:23 UTC (rev 603)
+++ x86/trunk/packages/which/Makefile	2005-09-04 00:30:30 UTC (rev 604)
@@ -0,0 +1,57 @@
+# which Makefile
+#==============================================================================
+
+NM= which
+VRS= 2.16
+DIR= $(NM)-$(VRS)
+
+FILE= $(DIR).tar.bz2
+URL-$(FILE)= $(HTTPBLFS)/W-Z/$(FILE)
+SHA-$(FILE)= a390999b1c4769814468ebc5bcb610161455f278
+
+# 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, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+	@./configure --prefix=/usr >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+	@make $(PM) >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@rm -f /usr/bin/which
+	@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