From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/rsync
Date: Wed, 20 Aug 2008 07:15:10 -0700 (PDT) [thread overview]
Message-ID: <20080820141511.09EE33C6FA@busybox.net> (raw)
Author: jacmet
Date: 2008-08-20 07:15:10 -0700 (Wed, 20 Aug 2008)
New Revision: 23118
Log:
rsync: convert to Makefile.autotools.in format
Modified:
trunk/buildroot/package/rsync/rsync.mk
Changeset:
Modified: trunk/buildroot/package/rsync/rsync.mk
===================================================================
--- trunk/buildroot/package/rsync/rsync.mk 2008-08-20 08:50:02 UTC (rev 23117)
+++ trunk/buildroot/package/rsync/rsync.mk 2008-08-20 14:15:10 UTC (rev 23118)
@@ -3,57 +3,17 @@
# rsync
#
#############################################################
+
RSYNC_VERSION:=2.6.9
RSYNC_SOURCE:=rsync-$(RSYNC_VERSION).tar.gz
RSYNC_SITE:=http://rsync.samba.org/ftp/rsync/src
-RSYNC_DIR:=$(BUILD_DIR)/rsync-$(RSYNC_VERSION)
-RSYNC_CAT:=$(ZCAT)
-RSYNC_BINARY:=rsync
-RSYNC_TARGET_BINARY:=usr/bin/rsync
+RSYNC_AUTORECONF:=no
+RSYNC_INSTALL_STAGING:=NO
+RSYNC_INSTALL_TARGET:=YES
+RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
+ STRIPPROG="$(TARGET_STRIP)" install-strip
+RSYNC_CONF_OPT:=--with-included-popt
-$(DL_DIR)/$(RSYNC_SOURCE):
- $(WGET) -P $(DL_DIR) $(RSYNC_SITE)/$(RSYNC_SOURCE)
+RSYNC_DEPENDENCIES:=uclibc
-rsync-source: $(DL_DIR)/$(RSYNC_SOURCE)
-
-$(RSYNC_DIR)/.unpacked: $(DL_DIR)/$(RSYNC_SOURCE)
- $(RSYNC_CAT) $(DL_DIR)/$(RSYNC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- toolchain/patch-kernel.sh $(RSYNC_DIR) package/rsync/ rsync\*.patch
- $(CONFIG_UPDATE) $(RSYNC_DIR)
- touch $@
-
-$(RSYNC_DIR)/.configured: $(RSYNC_DIR)/.unpacked
- (cd $(RSYNC_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 \
- --with-included-popt \
- )
- touch $@
-
-$(RSYNC_DIR)/$(RSYNC_BINARY): $(RSYNC_DIR)/.configured
- $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(RSYNC_DIR)
-
-$(TARGET_DIR)/$(RSYNC_TARGET_BINARY): $(RSYNC_DIR)/$(RSYNC_BINARY)
- install -D $(RSYNC_DIR)/$(RSYNC_BINARY) $(TARGET_DIR)/$(RSYNC_TARGET_BINARY)
-
-rsync: uclibc $(TARGET_DIR)/$(RSYNC_TARGET_BINARY)
-
-rsync-clean:
- rm -f $(TARGET_DIR)/$(RSYNC_TARGET_BINARY)
- -$(MAKE) -C $(RSYNC_DIR) clean
-
-rsync-dirclean:
- rm -rf $(RSYNC_DIR)
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_RSYNC)),y)
-TARGETS+=rsync
-endif
+$(eval $(call AUTOTARGETS,package,rsync))
next reply other threads:[~2008-08-20 14:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 14:15 jacmet at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-03 8:04 [Buildroot] svn commit: trunk/buildroot/package/rsync nkukard at uclibc.org
2008-08-20 14:15 jacmet at uclibc.org
2008-03-10 16:17 ninevoltz at uclibc.org
2008-03-06 18:22 ninevoltz at uclibc.org
2006-11-20 16:40 aldot at uclibc.org
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=20080820141511.09EE33C6FA@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