Magellan Linux

Annotation of /branches/R11-stable/extras/libconfig/libconfig-1.4.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15194 - (hide annotations) (download)
Wed Jan 2 10:56:26 2013 UTC (11 years, 5 months ago) by niro
File size: 698 byte(s)
-release branches/R11-stable
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     }