Magellan Linux

Annotation of /branches/R11-unstable/extras/xalan-j/xalan-j-2.7.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25855 - (hide annotations) (download)
Tue Nov 25 04:23:59 2014 UTC (9 years, 5 months ago) by niro
File size: 889 byte(s)
-release branches/R11-unstable
1 niro 9680 # $Id$
2    
3     PNAME="xalan-j"
4     PVER="2.7.1"
5     PBUILD="r3"
6    
7 niro 10517 PCAT="dev-java"
8 niro 9680
9     DEPEND=">= virtual/java
10     >= dev-java/xerces2-j-2.11"
11    
12     DESCRIPTION="Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types."
13     HOMEPAGE="http://xml.apache.org/xerces-c/"
14    
15     SRCFILE="${PNAME}_${PVER//./_}-bin-2jars.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME}_${PVER//./_}"
17    
18     sminclude java
19    
20     SRC_URI=(
21     http://www.apache.org/dist/xml/${PNAME}/binaries/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24     UP2DATE="updatecmd http://www.apache.org/dist/xml/${PNAME}/binaries/ | sed -n -e 's/.*${PNAME}_\(.*\)-bin.*/\1/;$ p' | sed 's:_:.:g'"
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29     }
30    
31     src_install()
32     {
33     cd ${SRCDIR} || die
34     minstalljar xalan.jar xsltc.jar || die
35     # fix a missing symlink
36     mlink xalan-${PVER}.jar ${JAVA_CLASSPATH_DIR}/xalan2.jar || die
37     minstalldocs LICENSE.txt NOTICE.txt || die
38     }