Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25488 - (show annotations) (download)
Tue Nov 25 03:49:47 2014 UTC (9 years, 5 months ago) by niro
File size: 696 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="libconfig"
4 PVER="1.5"
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 }