Magellan Linux

Contents of /branches/R11-stable/extras/libguess/libguess-1.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15211 - (show annotations) (download)
Wed Jan 2 10:58:10 2013 UTC (11 years, 4 months ago) by niro
File size: 748 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="libguess"
4 PVER="1.1"
5 PBUILD="r1"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="high-speed character set detection library."
10 HOMEPAGE="http://www.atheme.org/project/libguess"
11
12 DEPEND=">= dev-libs/libmowgli-2"
13 SDEPEND=">= virtual/sed
14 >= sys-dev/autoconf-9
15 >= sys-dev/automake-5"
16
17 SRCFILE="${PNAME}-${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mbuild
21 msetfeature "!check"
22
23 SRC_URI=(
24 http://distfiles.atheme.org/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd ${HOMEPAGE} | grep '\(\.tar\.gz\)' | sed 's/.*-\(.*\)\(\.tar\.gz\).*/\1/;q'"
29
30 src_prepare()
31 {
32 munpack ${SRCFILE} || die
33 cd ${SRCDIR}
34
35 # support libmowgli-2.0
36 sed -i 's:libmowgli >= 0.9.50:libmowgli-2:' configure.ac || die
37 mautoreconf -I m4 || die
38 }