Annotation of /smage/trunk/core/pkgconfig/pkgconfig-0.26-r1.smage2
Parent Directory | Revision Log
Revision 1742 -
(hide annotations)
(download)
Mon Sep 19 08:53:08 2011 UTC (12 years, 7 months ago) by niro
File size: 824 byte(s)
Mon Sep 19 08:53:08 2011 UTC (12 years, 7 months ago) by niro
File size: 824 byte(s)
auto added: ver bump to 0.26-r1
1 | niro | 1742 | # $Id$ |
2 | |||
3 | PNAME="pkgconfig" | ||
4 | PVER="0.26" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="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.28 | ||
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 | |||
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 | } |