mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 07:44:18 +08:00
Install netsurf in /usr
This commit is contained in:
parent
56dbe11545
commit
e6ead1d760
@ -1,5 +1,5 @@
|
||||
name=Netsurf
|
||||
binary=/bin/netsurf-fb
|
||||
binary=/usr/bin/netsurf-fb
|
||||
icon=/ui/icons/apps/internet-web-browser.png
|
||||
accept=*.html
|
||||
author=The Netsurf Developers
|
||||
|
||||
@ -14,7 +14,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L${COOKBOOK_SYSROOT}/lib -L${PWD}/inst-${TARGET}/lib -static -Wl,--allow-multiple-definition -Wl,-Bstatic"
|
||||
# nghttp2 is not linked for some reason
|
||||
export LDFLAGS="${LDFLAGS} -lcurl -lnghttp2"
|
||||
"$REDOX_MAKE" V=1 -j"$($NPROC)"
|
||||
"$REDOX_MAKE" PREFIX=/usr V=1 -j"$($NPROC)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -25,7 +25,7 @@ function recipe_clean {
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath "$1")"
|
||||
"$REDOX_MAKE" DESTDIR="$dest" install
|
||||
"$REDOX_MAKE" DESTDIR="$dest" PREFIX=/usr install
|
||||
mkdir -pv "$dest/ui/apps"
|
||||
cp -v "${COOKBOOK_RECIPE}/manifest" "$dest/ui/apps/00_netsurf"
|
||||
skip=1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user