Magellan Linux

Annotation of /branches/magellan-next/core/pkgconfig/pkgconfig-0.26-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7535 - (hide annotations) (download)
Thu May 26 16:04:57 2011 UTC (13 years, 1 month ago) by niro
File size: 812 byte(s)
-removed upstream applied patches
1 niro 7534 # $Id$
2    
3     PNAME="pkgconfig"
4     PVER="0.26"
5     PBUILD="r1"
6    
7     PCATEGORIE="dev-util"
8     STATE="unstable"
9    
10     DESCRIPTION="pkg-config is a helper tool used when compiling applications and libraries."
11     HOMEPAGE="http://pkgconfig.freedesktop.org/"
12    
13     DEPEND=">= virtual/glibc"
14    
15     SRCFILE="pkg-config-${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/pkg-config-${PVER}"
17    
18     sminclude mbuild
19    
20     SRC_URI=(
21     http://pkgconfig.freedesktop.org/releases/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     # use pkg-config as tarballname
26     UP2TARBALL="pkg-config"
27     UP2DATE="updatecmd_freedesktop ${PNAME} gz"
28    
29     src_compile()
30     {
31     cd ${SRCDIR}
32    
33     # set pc_path to /usr/lib/pkgconfig instead of /usr/lib/pkg-config
34     # >=0.19 is fixed upstream but we force this to prevent many problems
35     mconfigure --with-pc-path="\${libdir}/pkgconfig:\${datadir}/pkgconfig" || die
36     mmake || die
37     }