Magellan Linux

Contents of /branches/R11-unstable/extras/libconfig/libconfig-1.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32892 - (show annotations) (download)
Mon Apr 29 13:55:05 2019 UTC (5 years ago) by niro
File size: 705 byte(s)
-release branches/R11-unstable
1 # $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 }