Contents of /trunk/extras/xalan-j/xalan-j-2.7.2-r1.smage2
Parent Directory | Revision Log
Revision 29461 -
(show annotations)
(download)
Fri Jun 16 09:27:40 2017 UTC (7 years, 3 months ago) by niro
File size: 895 byte(s)
Fri Jun 16 09:27:40 2017 UTC (7 years, 3 months ago) by niro
File size: 895 byte(s)
auto added: ver bump to 2.7.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="xalan-j" |
4 | PVER="2.7.2" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-java" |
8 | |
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://xalan.apache.org/xalan-j/" |
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/xalan/${PNAME}/binaries/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd http://www.apache.org/dist/xalan/${PNAME}/binaries/ | sed -n -e 's/.*${PNAME}_\(.*\)-bin.*/\1/;$ p' | sed 's:_:.:g'" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | } |
31 | |
32 | src_install() |
33 | { |
34 | cd ${SRCDIR} || die |
35 | minstalljar xalan.jar xsltc.jar || die |
36 | # fix a missing symlink |
37 | mlink xalan-${PVER}.jar ${JAVA_CLASSPATH_DIR}/xalan2.jar || die |
38 | minstalldocs LICENSE.txt NOTICE.txt || die |
39 | } |