Magellan Linux

Contents of /branches/R11-unstable/core/pkgconfig/pkgconfig-0.28-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25048 - (show annotations) (download)
Tue Nov 25 02:53:05 2014 UTC (9 years, 5 months ago) by niro
File size: 839 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="pkgconfig"
4 PVER="0.28"
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 }