nspr-devel: symlink nspr.pc to mozilla-nspr.pc, bumprev.
--HG-- extra : convert_revision : 2f2a79cd7545d9b778a2d227853ece066169999a
This commit is contained in:
parent
563f4c9307
commit
37a40a76c7
|
@ -5,6 +5,9 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
revision=1
|
||||||
|
|
||||||
|
Add_dependency run glibc-devel
|
||||||
Add_dependency run nspr
|
Add_dependency run nspr
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
|
|
|
@ -36,5 +36,7 @@ post_install()
|
||||||
echo "Cflags: -I/usr/include/nspr"; \
|
echo "Cflags: -I/usr/include/nspr"; \
|
||||||
echo "Libs: -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl"; \
|
echo "Libs: -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl"; \
|
||||||
) >${DESTDIR}/usr/lib/pkgconfig/nspr.pc
|
) >${DESTDIR}/usr/lib/pkgconfig/nspr.pc
|
||||||
chmod 645 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc
|
chmod 644 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc || return 1
|
||||||
|
cd ${DESTDIR}/usr/lib/pkgconfig && \
|
||||||
|
ln -s nspr.pc mozilla-nspr.pc || return 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue