mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-13 02:23:51 +02:00
v8: use vbin
This commit is contained in:
parent
7a5d018bcf
commit
d805894be1
1 changed files with 7 additions and 7 deletions
|
@ -13,10 +13,10 @@ distfiles="http://commondatastorage.googleapis.com/chromium-browser-official/v8-
|
|||
checksum=ebde3d100aa61ee6cdff436ef8cc9291b99f0c246afddd67120838f1b85871ec
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
x86_64*) _target="x64";;
|
||||
i686*) _target="ia32";;
|
||||
arm*) _target="arm"; _opts="hardfp=on snapshot=off";;
|
||||
*) msg_error "$pkgname: unknown target architecture!\n" ;;
|
||||
x86_64*) _target="x64";;
|
||||
i686*) _target="ia32";;
|
||||
arm*) _target="arm"; _opts="hardfp=on snapshot=off";;
|
||||
*) msg_error "$pkgname: unknown target architecture!\n" ;;
|
||||
esac
|
||||
|
||||
do_build() {
|
||||
|
@ -32,14 +32,14 @@ do_build() {
|
|||
}
|
||||
|
||||
do_install() {
|
||||
vinstall out/${_target}.release/d8 755 usr/bin
|
||||
vbin out/${_target}.release/d8
|
||||
vinstall out/${_target}.release/lib.target/libv8.so.${_sonamever} 755 usr/lib
|
||||
if [ $_target != arm ]; then
|
||||
vinstall out/${_target}.release/mksnapshot.${_target} 755 usr/bin mksnapshot
|
||||
vbin out/${_target}.release/mksnapshot.${_target} mksnapshot
|
||||
fi
|
||||
|
||||
vmkdir usr/include
|
||||
vcopy 'include/v8*.h' usr/include
|
||||
vcopy 'include/v8*.h' usr/include
|
||||
|
||||
ln -sfr ${DESTDIR}/usr/lib/libv8.so.${_sonamever} ${DESTDIR}/usr/lib/libv8.so
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue