Magellan Linux

Contents of /smage/trunk/core/xmlstarlet/xmlstarlet-1.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2792 - (show annotations) (download)
Mon Aug 29 20:03:18 2011 UTC (12 years, 9 months ago) by niro
File size: 698 byte(s)
-merged branch alx-0_6_0 into trunk
1 # $Id$
2
3 PNAME="xmlstarlet"
4 PVER="1.1.0"
5 PBUILD="r1"
6
7 PCATEGORIE="app-text"
8
9 DESCRIPTION="XMLStarlet command line XML toolkit."
10 HOMEPAGE="http://xmlstar.sourceforge.net/"
11
12 DEPEND=">= dev-libs/libxml2-2.7
13 >= dev-libs/libxslt-1.1.26"
14
15 SDEPEND=">= dev-util/pkgconfig-0.25"
16
17 SRCFILE="${PNAME}-${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 ALX_ONLY_KEEP="usr/bin/xml"
21 sminclude mbuild alx-split
22
23 SRC_URI=(
24 sourceforge://xmlstar/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd_sourceforge xmlstar ${PNAME}"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 LIBXML_LIBS="$(pkg-config --libs libxml-2.0)"
35 LIBXSLT_LIBS="$(pkg-config --libs libxslt libexslt)" \
36 mconfigure || die
37
38 mmake || die
39 }