Magellan Linux

Annotation of /trunk/extras/libguess/libguess-1.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13254 - (hide annotations) (download)
Tue Sep 11 14:20:59 2012 UTC (11 years, 9 months ago) by niro
File size: 727 byte(s)
-mautoreconf: include m4 directory
1 niro 13244 # $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 niro 13246 SDEPEND=">= virtual/sed
14     >= sys-dev/autoconf-9
15     >= sys-dev/automake-5"
16 niro 13244
17     SRCFILE="${PNAME}-${PVER}.tar.gz"
18     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19    
20     sminclude mbuild
21    
22     SRC_URI=(
23 niro 13245 http://distfiles.atheme.org/${SRCFILE}
24 niro 13244 mirror://${PNAME}/${SRCFILE}
25     )
26    
27     UP2DATE="updatecmd ${HOMEPAGE} | grep '\(\.tar\.gz\)' | sed 's/.*-\(.*\)\(\.tar\.gz\).*/\1/;q'"
28 niro 13246
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # support libmowgli-2.0
35     sed -i 's:libmowgli >= 0.9.50:libmowgli-2:' configure.ac || die
36 niro 13254 mautoreconf -I m4 || die
37 niro 13246 }