Annotation of /trunk/extras/libconfig/libconfig-1.5-r2.smage2
Parent Directory | Revision Log
Revision 27300 -
(hide annotations)
(download)
Mon Dec 14 13:06:58 2015 UTC (8 years, 9 months ago) by niro
File size: 705 byte(s)
Mon Dec 14 13:06:58 2015 UTC (8 years, 9 months ago) by niro
File size: 705 byte(s)
-c++11 abi toolchain rebuild
1 | niro | 27300 | # $Id$ |
2 | |||
3 | PNAME="libconfig" | ||
4 | PVER="1.5" | ||
5 | PBUILD="r2" | ||
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=">= sys-libs/libstdc++-5.3" | ||
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 | } |