Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/xmlstarlet/xmlstarlet-1.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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