make proper use of the PREFIX env variable set by the sPKG package manager

This commit is contained in:
hippoz 2021-06-29 23:27:12 +03:00
parent db92494f46
commit 98bb968e38
12 changed files with 14 additions and 21 deletions

View file

@ -4,6 +4,6 @@ prepare:
autoconf:
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -4,6 +4,6 @@ prepare:
automake:
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -3,6 +3,6 @@ prepare:
bash:
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -5,6 +5,6 @@ busybox:
make defconfig
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -4,6 +4,6 @@ prepare:
git:
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -4,6 +4,6 @@ prepare:
libc:
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -6,6 +6,6 @@ make:
./configure
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -2,7 +2,7 @@ PREFIX ?= /usr
MANDIR ?= $(PREFIX)/share/man
all:
@echo Run \'make install\' to install Neofetch.
@echo Run \'make install DESTDIR="${PREFIX}"\' to install Neofetch.
install:
@mkdir -p $(DESTDIR)$(PREFIX)/bin

View file

@ -1,10 +1,9 @@
prepare:
git clone https://cgit.freedesktop.org/xorg/xserver/
cd xserver
PREFIX = $(prefix/)
xorg:
./configure \
--prefix=PREFIX \
--prefix=${PREFIX} \
--localstatedir=/var \
--disable-systemd-logind \
--disable-xwayland \
@ -19,6 +18,4 @@ xorg:
--with-systemd-daemon=off
make
install:
make install
make install DESTDIR="${PREFIX}"

View file

@ -1,16 +1,12 @@
prepare:
PREFIX = $(prefix/)
git clone https://git.tukaani.org/xz.git
cd xz
make:
./configure \
--prefix=PREFIX \
--prefix=${PREFIX} \
--disable-nls
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -5,7 +5,7 @@ make:
./configure
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall

View file

@ -3,6 +3,6 @@ prepare:
zsh:
make
install:
make install
make install DESTDIR="${PREFIX}"
uninstall:
make uninstall