Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/pkgconfig/pkgconfig-0.29.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10767 - (show annotations) (download)
Thu Aug 31 08:15:34 2017 UTC (6 years, 7 months ago) by niro
File size: 906 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="pkgconfig"
4 PVER="0.29.2"
5 PBUILD="r2"
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.46
13 >= dev-libs/popt-1.16"
14
15 SDEPEND=">= dev-libs/glib2-dev-2.46
16 >= dev-libs/popt-dev-1.16"
17
18 SRCFILE="pkg-config-${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/pkg-config-${PVER}"
20
21 sminclude mbuild
22 msetfeature "!check"
23
24 SRC_URI=(
25 http://pkgconfig.freedesktop.org/releases/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 # use pkg-config as tarballname
30 UP2TARBALL="pkg-config"
31 UP2DATE="updatecmd_freedesktop ${PNAME} gz"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 # set pc_path to /usr/lib/pkgconfig instead of /usr/lib/pkg-config
38 # >=0.19 is fixed upstream but we force this to prevent many problems
39 mconfigure --with-pc-path="\${libdir}/pkgconfig:\${datadir}/pkgconfig" || die
40 mmake || die
41 }