make proper use of the PREFIX env variable set by the sPKG package manager
This commit is contained in:
parent
db92494f46
commit
98bb968e38
12 changed files with 14 additions and 21 deletions
|
@ -4,6 +4,6 @@ prepare:
|
||||||
autoconf:
|
autoconf:
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
|
@ -4,6 +4,6 @@ prepare:
|
||||||
automake:
|
automake:
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
|
@ -3,6 +3,6 @@ prepare:
|
||||||
bash:
|
bash:
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
|
@ -5,6 +5,6 @@ busybox:
|
||||||
make defconfig
|
make defconfig
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
|
@ -4,6 +4,6 @@ prepare:
|
||||||
git:
|
git:
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
|
@ -4,6 +4,6 @@ prepare:
|
||||||
libc:
|
libc:
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
|
@ -6,6 +6,6 @@ make:
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
|
@ -2,7 +2,7 @@ PREFIX ?= /usr
|
||||||
MANDIR ?= $(PREFIX)/share/man
|
MANDIR ?= $(PREFIX)/share/man
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo Run \'make install\' to install Neofetch.
|
@echo Run \'make install DESTDIR="${PREFIX}"\' to install Neofetch.
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@mkdir -p $(DESTDIR)$(PREFIX)/bin
|
@mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
prepare:
|
prepare:
|
||||||
git clone https://cgit.freedesktop.org/xorg/xserver/
|
git clone https://cgit.freedesktop.org/xorg/xserver/
|
||||||
cd xserver
|
cd xserver
|
||||||
PREFIX = $(prefix/)
|
|
||||||
xorg:
|
xorg:
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=PREFIX \
|
--prefix=${PREFIX} \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--disable-systemd-logind \
|
--disable-systemd-logind \
|
||||||
--disable-xwayland \
|
--disable-xwayland \
|
||||||
|
@ -19,6 +18,4 @@ xorg:
|
||||||
--with-systemd-daemon=off
|
--with-systemd-daemon=off
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,12 @@
|
||||||
prepare:
|
prepare:
|
||||||
PREFIX = $(prefix/)
|
|
||||||
git clone https://git.tukaani.org/xz.git
|
git clone https://git.tukaani.org/xz.git
|
||||||
cd xz
|
cd xz
|
||||||
make:
|
make:
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=PREFIX \
|
--prefix=${PREFIX} \
|
||||||
--disable-nls
|
--disable-nls
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ make:
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,6 @@ prepare:
|
||||||
zsh:
|
zsh:
|
||||||
make
|
make
|
||||||
install:
|
install:
|
||||||
make install
|
make install DESTDIR="${PREFIX}"
|
||||||
uninstall:
|
uninstall:
|
||||||
make uninstall
|
make uninstall
|
||||||
|
|
Loading…
Reference in a new issue