From patchwork Mon Apr 29 10:35:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rico Bachmann X-Patchwork-Id: 240358 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 80FA22C00B4 for ; Mon, 29 Apr 2013 20:47:27 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F24DE8C629; Mon, 29 Apr 2013 10:47:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nuZEKZ6Ii3QG; Mon, 29 Apr 2013 10:47:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C97268C12F; Mon, 29 Apr 2013 10:47:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 5E80D8F74B for ; Mon, 29 Apr 2013 10:47:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B0028A00F9 for ; Mon, 29 Apr 2013 10:47:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SRNFnRuFJnm3 for ; Mon, 29 Apr 2013 10:47:15 +0000 (UTC) X-Greylist: delayed 00:10:49 by SQLgrey-1.7.6 Received: from mx4.bln1.prohost.de (mx4.bln1.prohost.de [213.160.85.12]) by hemlock.osuosl.org (Postfix) with ESMTPS id D6DA3A0022 for ; Mon, 29 Apr 2013 10:47:14 +0000 (UTC) Received: from debian.tofwerk.com (136-151.76-83.cust.bluewin.ch [83.76.151.136]) (authenticated bits=0) by mx4.bln1.prohost.de (8.14.4/8.14.4) with ESMTP id r3TAaH9G028306; Mon, 29 Apr 2013 12:36:23 +0200 From: Rico Bachmann To: buildroot@uclibc.org Date: Mon, 29 Apr 2013 12:35:46 +0200 Message-Id: <1367231746-30319-1-git-send-email-bachmann@tofwerk.com> X-Mailer: git-send-email 1.7.2.5 X-Null-Tag: fda62f0b0307a87d6e41929cdbe9499d Cc: Rico Bachmann Subject: [Buildroot] [PATCH] Add package subversion X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Rico Bachmann --- package/Config.in | 1 + package/subversion/Config.in | 9 +++++++++ package/subversion/subversion.mk | 22 ++++++++++++++++++++++ 3 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 package/subversion/Config.in create mode 100644 package/subversion/subversion.mk diff --git a/package/Config.in b/package/Config.in index bcd3d8d..13196e4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -90,6 +90,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/sed/Config.in" endif source "package/sstrip/Config.in" +source "package/subversion/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/tar/Config.in" endif diff --git a/package/subversion/Config.in b/package/subversion/Config.in new file mode 100644 index 0000000..4e5c4ae --- /dev/null +++ b/package/subversion/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_SUBVERSION + bool "subversion" + select BR2_PACKAGE_APR_UTIL + # apr really needs shared library support + depends on !BR2_PREFER_STATIC_LIB + help + Subversion is an open source version control system + + http://subversion.apache.org/ diff --git a/package/subversion/subversion.mk b/package/subversion/subversion.mk new file mode 100644 index 0000000..7a91842 --- /dev/null +++ b/package/subversion/subversion.mk @@ -0,0 +1,22 @@ +############################################################# +# +# subversion +# +############################################################# +SUBVERSION_VERSION = 1.7.9 +SUBVERSION_SITE = http://archive.apache.org/dist/subversion +SUBVERSION_DEPENDENCIES = apr apr-util expat +SUBVERSION_CONF_OPT = \ + --with-expat=$(STAGING_DIR)/usr:$(STAGING_DIR)/usr:expat \ + --with-apr=$(BUILD_DIR)/apr-$(APR_VERSION) \ + --with-apr-util=$(BUILD_DIR)/apr-util-$(APR_UTIL_VERSION) +ifeq ($(BR2_PACKAGE_ZLIB),y) +SUBVERSION_CONF_OPT += \ + --with-zlib=$(STAGING_DIR)/usr +endif +ifeq ($(BR2_PACKAGE_NEON),y) +SUBVERSION_CONF_OPT += \ + --with-neon=$(STAGING_DIR)/usr +endif + +$(eval $(autotools-package))