Contents of /smage/branches/alx07x-unstable/core/pkgconfig/pkgconfig-0.28-r3.smage2
Parent Directory | Revision Log
Revision 7354 -
(show annotations)
(download)
Mon Sep 21 08:37:36 2015 UTC (9 years ago) by niro
File size: 904 byte(s)
Mon Sep 21 08:37:36 2015 UTC (9 years ago) by niro
File size: 904 byte(s)
-release branches/alx07x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="pkgconfig" |
4 | PVER="0.28" |
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.44 |
13 | >= dev-libs/popt-1.16" |
14 | |
15 | SDEPEND=">= dev-libs/glib2-dev-2.44 |
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 | } |