52 | | file mkdir ${destroot}${prefix}/lib/pkgconfig |
53 | | copy ${filespath}/nspr.pc ${destroot}${prefix}/lib/pkgconfig |
54 | | reinplace "s|@@prefix@@|${prefix}|" ${destroot}${prefix}/lib/pkgconfig/nspr.pc |
55 | | set mylibs [exec ${destroot}${prefix}/bin/nspr-config --libs] |
56 | | set mycflags [exec ${destroot}${prefix}/bin/nspr-config --cflags] |
57 | | set myversion [exec ${destroot}${prefix}/bin/nspr-config --version] |
58 | | reinplace "s|@@FULL_NSPR_LIBS@@|${mylibs}|" ${destroot}${prefix}/lib/pkgconfig/nspr.pc |
59 | | reinplace "s|@@FULL_NSPR_CFLAGS@@|${mycflags}|" ${destroot}${prefix}/lib/pkgconfig/nspr.pc |
60 | | reinplace "s|@@NSPR_VERSION@@|${myversion}|" ${destroot}${prefix}/lib/pkgconfig/nspr.pc |
| 52 | file mkdir ${destroot}${prefix}/lib/pkgconfig |
| 53 | copy ${filespath}/nspr.pc ${destroot}${prefix}/lib/pkgconfig |
| 54 | reinplace "s|@@prefix@@|${prefix}|" ${destroot}${prefix}/lib/pkgconfig/nspr.pc |
| 55 | set mylibs [exec ${destroot}${prefix}/bin/nspr-config --libs] |
| 56 | set mycflags [exec ${destroot}${prefix}/bin/nspr-config --cflags] |
| 57 | set myversion [exec ${destroot}${prefix}/bin/nspr-config --version] |
| 58 | reinplace "s|@@FULL_NSPR_LIBS@@|${mylibs}|" ${destroot}${prefix}/lib/pkgconfig/nspr.pc |
| 59 | reinplace "s|@@FULL_NSPR_CFLAGS@@|${mycflags}|" ${destroot}${prefix}/lib/pkgconfig/nspr.pc |
| 60 | reinplace "s|@@NSPR_VERSION@@|${myversion}|" ${destroot}${prefix}/lib/pkgconfig/nspr.pc |