Contents of /trunk/core/popt/popt-1.16-r5.smage2
Parent Directory | Revision Log
Revision 32068 -
(show annotations)
(download)
Fri Mar 22 21:55:08 2019 UTC (5 years, 6 months ago) by niro
File size: 719 byte(s)
Fri Mar 22 21:55:08 2019 UTC (5 years, 6 months ago) by niro
File size: 719 byte(s)
-fixed pkgconfig libdir
1 | # $Id$ |
2 | |
3 | PNAME="popt" |
4 | PVER="1.16" |
5 | PBUILD="r5" |
6 | |
7 | PCAT="dev-libs" |
8 | |
9 | DESCRIPTION="Popt - Library for parsing command line options." |
10 | HOMEPAGE="http://rpm5.org/" |
11 | |
12 | DEPEND=">= sys-dev/gettext-0.18" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude multilib mbuild |
18 | |
19 | SRC_URI=( |
20 | #http://rpm5.org/files/${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${PNAME}-${PVER}-pkgconfig-libdir.patch |
23 | ) |
24 | |
25 | UP2DATE="updatecmd http://rpm5.org/files/${PNAME} | highesttarball gz" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | |
31 | # fix broken pkg-config libdir |
32 | mpatch ${PNAME}-${PVER}-pkgconfig-libdir.patch || die |
33 | } |
34 | |
35 | src_compile() |
36 | { |
37 | mconfigure --enable-nls --with-gnu-ld || die |
38 | mmake || die |
39 | } |