Annotation of /branches/R11-stable/extras/libconfig/libconfig-1.4.9-r1.smage2
Parent Directory | Revision Log
Revision 13803 -
(hide annotations)
(download)
Wed Oct 24 15:44:16 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/extras/libconfig/libconfig-1.4.9-r1.smage2
File size: 698 byte(s)
Wed Oct 24 15:44:16 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/extras/libconfig/libconfig-1.4.9-r1.smage2
File size: 698 byte(s)
auto added: ver bump to 1.4.9-r1
1 | niro | 13803 | # $Id$ |
2 | |||
3 | PNAME="libconfig" | ||
4 | PVER="1.4.9" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="Libconfig is a simple library for processing structured configuration files." | ||
10 | HOMEPAGE="http://www.hyperrealm.com/libconfig/libconfig.html" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | SDEPEND=">= virtual/sed" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mtools mbuild | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://www.hyperrealm.com/${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd ${HOMEPAGE} | firsttarball gz" | ||
26 | |||
27 | src_prepare() | ||
28 | { | ||
29 | munpack ${SRCFILE} || die | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | # do not install any samples | ||
33 | sed -i 's:^SUBDIRS = . samples doc$:SUBDIRS = . doc:' Makefile.am || die | ||
34 | mautoreconf || die | ||
35 | } |