nspr-devel: symlink nspr.pc to mozilla-nspr.pc, bumprev.

--HG--
extra : convert_revision : 2f2a79cd7545d9b778a2d227853ece066169999a
This commit is contained in:
Juan RP 2009-12-21 19:10:56 +01:00
parent 563f4c9307
commit 37a40a76c7
2 changed files with 6 additions and 1 deletions

View file

@ -5,6 +5,9 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run glibc-devel
Add_dependency run nspr
do_install()

View file

@ -36,5 +36,7 @@ post_install()
echo "Cflags: -I/usr/include/nspr"; \
echo "Libs: -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl"; \
) >${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
}