Contents of /trunk/core/pkgconfig/pkgconfig-0.29.2-r1.smage2
Parent Directory | Revision Log
Revision 28748 -
(show annotations)
(download)
Fri Apr 28 07:50:39 2017 UTC (7 years, 5 months ago) by niro
File size: 841 byte(s)
Fri Apr 28 07:50:39 2017 UTC (7 years, 5 months ago) by niro
File size: 841 byte(s)
auto added: ver bump to 0.29.2-r1
1 | # $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 | } |