Magellan Linux

Contents of /trunk/core/libconfig/libconfig-1.4.8-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10374 - (show annotations) (download)
Sat Jan 21 12:47:23 2012 UTC (12 years, 5 months ago) by niro
File size: 674 byte(s)
-use mautoreconf
1 # $Id$
2
3 PNAME="libconfig"
4 PVER="1.4.8"
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=">= virtual/glibc"
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mtools mbuild
18
19 SRC_URI=(
20 http://www.hyperrealm.com/${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd ${HOMEPAGE} | firsttarball gz"
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 cd ${SRCDIR}
30
31 # fo not install any samples
32 sed -i 's:^SUBDIRS = . samples doc$:SUBDIRS = . doc:' Makefile.am || die
33 mautoreconf || die
34 }