From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/which
Date: Tue, 22 Jul 2008 07:11:01 -0700 (PDT) [thread overview]
Message-ID: <20080722141101.B80943C7A0@busybox.net> (raw)
Author: jacmet
Date: 2008-07-22 07:11:01 -0700 (Tue, 22 Jul 2008)
New Revision: 22916
Log:
which: convert to Makefile.autotools.in format
Modified:
trunk/buildroot/package/which/which.mk
Changeset:
Modified: trunk/buildroot/package/which/which.mk
===================================================================
--- trunk/buildroot/package/which/which.mk 2008-07-22 13:59:42 UTC (rev 22915)
+++ trunk/buildroot/package/which/which.mk 2008-07-22 14:11:01 UTC (rev 22916)
@@ -6,54 +6,14 @@
WHICH_VERSION:=2.19
WHICH_SOURCE:=which-$(WHICH_VERSION).tar.gz
WHICH_SITE:=http://www.xs4all.nl/~carlo17/which/
-WHICH_DIR:=$(BUILD_DIR)/which-$(WHICH_VERSION)
-WHICH_CAT:=$(ZCAT)
-WHICH_BINARY:=which
-WHICH_TARGET_BINARY:=usr/bin/which
+WHICH_AUTORECONF:=NO
+WHICH_INSTALL_STAGING:=NO
+WHICH_INSTALL_TARGET:=YES
-$(DL_DIR)/$(WHICH_SOURCE):
- $(WGET) -P $(DL_DIR) $(WHICH_SITE)/$(WHICH_SOURCE)
+WHICH_DEPENDENCIES:=uclibc
-which-source: $(DL_DIR)/$(WHICH_SOURCE)
+$(eval $(call AUTOTARGETS,package,which))
-$(WHICH_DIR)/.unpacked: $(DL_DIR)/$(WHICH_SOURCE)
- $(WHICH_CAT) $(DL_DIR)/$(WHICH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- $(CONFIG_UPDATE) $(WHICH_DIR)
+$(WHICH_HOOK_POST_INSTALL): $(WHICH_TARGET_INSTALL_TARGET)
+ $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/which
touch $@
-
-$(WHICH_DIR)/.configured: $(WHICH_DIR)/.unpacked
- (cd $(WHICH_DIR); rm -rf config.cache; \
- $(TARGET_CONFIGURE_OPTS) \
- $(TARGET_CONFIGURE_ARGS) \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --prefix=/usr \
- --sysconfdir=/etc \
- )
- touch $@
-
-$(WHICH_DIR)/$(WHICH_BINARY): $(WHICH_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(WHICH_DIR)
-
-$(TARGET_DIR)/$(WHICH_TARGET_BINARY): $(WHICH_DIR)/$(WHICH_BINARY)
- install -D $^ $@
- $(STRIPCMD) $(STRIP_STRIP_ALL) $@
-
-which: uclibc $(TARGET_DIR)/$(WHICH_TARGET_BINARY)
-
-which-clean:
- rm -f $(TARGET_DIR)/$(WHICH_TARGET_BINARY)
- -$(MAKE) -C $(WHICH_DIR) clean
-
-which-dirclean:
- rm -rf $(WHICH_DIR)
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_WHICH)),y)
-TARGETS+=which
-endif
next reply other threads:[~2008-07-22 14:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 14:11 jacmet at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-10-06 19:54 [Buildroot] svn commit: trunk/buildroot/package/which wberrier at uclibc.org
2008-07-22 13:59 jacmet at uclibc.org
2008-07-22 13:59 jacmet at uclibc.org
2008-07-22 13:59 jacmet at uclibc.org
2008-07-23 0:50 ` Hamish Moffatt
2008-07-23 3:57 ` Wade Berrier
2008-07-23 4:14 ` Hamish Moffatt
2008-03-06 18:29 ninevoltz at uclibc.org
2008-03-06 21:44 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080722141101.B80943C7A0@busybox.net \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox