X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0	tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_BX,TW_IB,TW_YG
X-Spam-Check-By: sourceware.org
X-Trace: 824423324/mk-filter-4.mail.uk.tiscali.com/B2C/$THROTTLED_DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/79.68.103.202/None/drstacey@tiscali.co.uk
X-SBRS: None
X-RemoteIP: 79.68.103.202
X-IP-MAIL-FROM: drstacey@tiscali.co.uk
X-SMTP-AUTH:
X-Originating-Country: GB/UNITED KINGDOM
X-MUA: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApUBAGc/xlBPRGfK/2dsb2JhbAANOIY3hV+yX4M7VT0WCwILAwIBAgFYCAEBrHVwkkuNWYIWgRMDjwKIIIQ8jWOBZiQ
Message-ID: <50C63F9D.5020800@tiscali.co.uk>
Date: Mon, 10 Dec 2012 20:01:33 +0000
From: David Stacey <drstacey@tiscali.co.uk>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: xmlstarlet [Attn: Yaakov]
Content-Type: multipart/mixed; boundary="------------070106070608080109090006"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------070106070608080109090006
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I have been looking briefly at xmlstarlet [1] and have some interest in 
seeing this in Cygwin. However, it is rather heavily dependent on 
libxml2 and libxslt insomuch as the output of xmlstarlet can vary, 
depending on which versions of these libraries it is linked against.

Yaakov: As maintainer of libxml2 and libxslt, I thought I would offer 
you first refusal of this package. If you're interested then I hope the 
attached cygport files are useful. Otherwise, I will ITP this package 
myself.

Cheers,

Dave.

[1] http://xmlstar.sourceforge.net/


--------------070106070608080109090006
Content-Type: text/plain; charset=UTF-8;
 name="xmlstarlet-1.3.1-1.cygport"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="xmlstarlet-1.3.1-1.cygport"

SUMMARY="XMLStarlet is a command line XML toolkit which can be used to transform, query, validate, and edit XML documents using a simple set of shell commands."
DESCRIPTION="XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands.
This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts."
CATEGORY="Utils"

HOMEPAGE="http://xmlstar.sourceforge.net/"
SRC_URI="mirror://sourceforge/xmlstar/${P}.tar.gz"

src_compile() {
	cd ${S}
	cygautoreconf
	cd ${B}
	cygconf --with-libxml-include-prefix=/usr/include/libxml2 --program-suffix=starlet
	cygmake
}

src_test() {
	cd ${B}
	make check EXEEXT=
}

src_install() {
	cd ${B}
	make install-exec DESTDIR=../inst
	make install-data DESTDIR=../inst program_transform_name=
	docdir=${D}/usr/share/doc/${PN}
	mkdir -p ${docdir}/html ${docdir}/pdf
	cp ${S}/doc/xmlstarlet-ug.html ${S}/doc/html.css ${docdir}/html
	cp ${S}/doc/xmlstarlet-ug.pdf ${docdir}/pdf
	cd ${D}/usr/bin
}

--------------070106070608080109090006
Content-Type: text/plain; charset=UTF-8;
 name="xmlstarlet-1.4.1-1.cygport"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="xmlstarlet-1.4.1-1.cygport"

SUMMARY="XMLStarlet is a command line XML toolkit which can be used to transform, query, validate, and edit XML documents using a simple set of shell commands."
DESCRIPTION="XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands.
This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts."
CATEGORY="Utils"

HOMEPAGE="http://xmlstar.sourceforge.net/"
SRC_URI="mirror://sourceforge/xmlstar/${P}.tar.gz"

src_compile() {
	cd ${S}
	cygautoreconf
	lndirs
	cd ${B}
	cygconf --with-libxml-include-prefix=/usr/include/libxml2 --program-suffix=starlet
	cygmake
}

src_test() {
	cd ${B}
	make check EXEEXT=
}

src_install() {
	cd ${B}
	make install-exec DESTDIR=${D}
	make install-data DESTDIR=${D} program_transform_name=
}


--------------070106070608080109090006
Content-Type: text/plain; charset=us-ascii

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
--------------070106070608080109090006--
