Annotation of /smage/trunk/deprecated/pkgconfig/pkgconfig-0.29.2-r3.smage2
Parent Directory | Revision Log
Revision 13975 -
(hide annotations)
(download)
Thu Jul 2 08:37:30 2020 UTC (4 years, 2 months ago) by niro
Original Path: smage/trunk/core/pkgconfig/pkgconfig-0.29.2-r3.smage2
File size: 906 byte(s)
Thu Jul 2 08:37:30 2020 UTC (4 years, 2 months ago) by niro
Original Path: smage/trunk/core/pkgconfig/pkgconfig-0.29.2-r3.smage2
File size: 906 byte(s)
auto added: ver bump to 0.29.2-r3
1 | niro | 13975 | # $Id$ |
2 | |||
3 | PNAME="pkgconfig" | ||
4 | PVER="0.29.2" | ||
5 | PBUILD="r3" | ||
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.64 | ||
13 | >= dev-libs/popt-1.16" | ||
14 | |||
15 | SDEPEND=">= dev-libs/glib2-dev-2.64 | ||
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 | } |