Magellan Linux

Annotation of /branches/R11-unstable/core/pkgconfig/pkgconfig-0.29.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32114 - (hide annotations) (download)
Mon Apr 29 11:40:10 2019 UTC (5 years ago) by niro
File size: 841 byte(s)
-release branches/R11-unstable
1 niro 28748 # $Id$
2    
3     PNAME="pkgconfig"
4     PVER="0.29.2"
5     PBUILD="r1"
6    
7     PCAT="dev-util"
8    
9     DESCRIPTION="pkg-config is a helper tool used when compiling applications and libraries."
10     HOMEPAGE="http://pkgconfig.freedesktop.org/"
11    
12     DEPEND=">= dev-libs/glib2-2.34
13     >= dev-libs/popt-1.16"
14    
15     SRCFILE="pkg-config-${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/pkg-config-${PVER}"
17    
18     sminclude mbuild
19     msetfeature "!check"
20    
21     SRC_URI=(
22     http://pkgconfig.freedesktop.org/releases/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     # use pkg-config as tarballname
27     UP2TARBALL="pkg-config"
28     UP2DATE="updatecmd_freedesktop ${PNAME} gz"
29    
30     src_compile()
31     {
32     cd ${SRCDIR}
33    
34     # set pc_path to /usr/lib/pkgconfig instead of /usr/lib/pkg-config
35     # >=0.19 is fixed upstream but we force this to prevent many problems
36     mconfigure --with-pc-path="\${libdir}/pkgconfig:\${datadir}/pkgconfig" || die
37     mmake || die
38     }