Contents of /branches/R11-unstable/extras/libguess/libguess-1.1-r1.smage2
Parent Directory | Revision Log
Revision 25514 -
(show annotations)
(download)
Tue Nov 25 03:51:59 2014 UTC (9 years, 10 months ago) by niro
File size: 748 byte(s)
Tue Nov 25 03:51:59 2014 UTC (9 years, 10 months ago) by niro
File size: 748 byte(s)
-release branches/R11-unstable
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 | } |