nss: split build stuff into do_build().
--HG-- extra : convert_revision : f8bcb5832d20019f1bc431680e6e6bb3d333ca4f
This commit is contained in:
parent
ea8089defb
commit
c504b30c7a
1 changed files with 10 additions and 3 deletions
|
@ -23,9 +23,9 @@ Add_dependency build zlib-devel
|
||||||
Add_dependency build nspr-devel
|
Add_dependency build nspr-devel
|
||||||
Add_dependency build sqlite-devel
|
Add_dependency build sqlite-devel
|
||||||
|
|
||||||
do_install()
|
do_build()
|
||||||
{
|
{
|
||||||
install -d ${DESTDIR}/usr/include/nss ${DESTDIR}/usr/lib/pkgconfig
|
cd ${wrksrc} || return 1
|
||||||
if [ "$xbps_machine" = "x86_64" ]; then
|
if [ "$xbps_machine" = "x86_64" ]; then
|
||||||
_use64="USE_64=1"
|
_use64="USE_64=1"
|
||||||
fi
|
fi
|
||||||
|
@ -36,7 +36,14 @@ do_install()
|
||||||
NSPR_INCLUDE_DIR=/usr/include/nspr \
|
NSPR_INCLUDE_DIR=/usr/include/nspr \
|
||||||
NSPR_LIB_DIR=/usr/lib ${_use64} || return 1
|
NSPR_LIB_DIR=/usr/lib ${_use64} || return 1
|
||||||
done
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
cd ${wrksrc} || return 1
|
||||||
|
|
||||||
|
install -d ${DESTDIR}/usr/include/nss \
|
||||||
|
${DESTDIR}/usr/lib/pkgconfig
|
||||||
install -m644 mozilla/dist/public/nss/*.h \
|
install -m644 mozilla/dist/public/nss/*.h \
|
||||||
${DESTDIR}/usr/include/nss || return 1
|
${DESTDIR}/usr/include/nss || return 1
|
||||||
install -m755 mozilla/dist/*.OBJ/lib/*.so \
|
install -m755 mozilla/dist/*.OBJ/lib/*.so \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue