mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
*: explicit DESTDIR
This commit is contained in:
parent
58b552f92d
commit
7028d50226
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
make LDFLAGS="$LDFLAGS -static"
|
make LDFLAGS="$LDFLAGS -static"
|
||||||
make PREFIX=/usr install
|
make PREFIX=/usr DESTDIR="$1" install
|
||||||
|
@ -29,6 +29,6 @@ export PATH="$PATH:$PWD"
|
|||||||
|
|
||||||
make configure-host
|
make configure-host
|
||||||
make tooldir=/usr
|
make tooldir=/usr
|
||||||
make tooldir=/usr install
|
make tooldir=/usr DESTDIR="$1" install
|
||||||
|
|
||||||
ln -sf ld.bfd "$1/usr/bin/ld"
|
ln -sf ld.bfd "$1/usr/bin/ld"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
make \
|
make DESTDIR="$1" \
|
||||||
install-libLIBRARIES \
|
install-libLIBRARIES \
|
||||||
install-binPROGRAMS \
|
install-binPROGRAMS \
|
||||||
install-nodist_binSCRIPTS \
|
install-nodist_binSCRIPTS \
|
||||||
|
@ -25,4 +25,4 @@ mv -f _ src/Makefile.in
|
|||||||
--without-zstd
|
--without-zstd
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
ac_cv_func_realloc_0_nonnull=yes
|
ac_cv_func_realloc_0_nonnull=yes
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
ln -s flex "$1/usr/bin/lex"
|
ln -s flex "$1/usr/bin/lex"
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ esac
|
|||||||
"${bootstrap:---enable-bootstrap}"
|
"${bootstrap:---enable-bootstrap}"
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# Save 35MB.
|
# Save 35MB.
|
||||||
find "$1" -name libgtkpeer.a -exec rm -f {} +
|
find "$1" -name libgtkpeer.a -exec rm -f {} +
|
||||||
|
@ -24,6 +24,6 @@ EOF
|
|||||||
ac_cv_fread_reads_directories=yes
|
ac_cv_fread_reads_directories=yes
|
||||||
|
|
||||||
make LIBS="$(curl-config --static-libs) libgit.a reftable/libreftable.a xdiff/lib.a -lz"
|
make LIBS="$(curl-config --static-libs) libgit.a reftable/libreftable.a xdiff/lib.a -lz"
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
cp -Rf man "$1/usr/share/man"
|
cp -Rf man "$1/usr/share/man"
|
||||||
|
@ -18,6 +18,8 @@ done
|
|||||||
export CFLAGS
|
export CFLAGS
|
||||||
CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g')
|
CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g')
|
||||||
|
|
||||||
|
pkg_dir=$1
|
||||||
|
|
||||||
# Force bfd linker to fix issues with alternative linkers. Mold does not yet
|
# Force bfd linker to fix issues with alternative linkers. Mold does not yet
|
||||||
# have full linker script support and I'm not certain that lld or gold have
|
# have full linker script support and I'm not certain that lld or gold have
|
||||||
# ever worked to build Grub.
|
# ever worked to build Grub.
|
||||||
@ -48,7 +50,7 @@ build_grub() (
|
|||||||
"$@"
|
"$@"
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$pkg_dir" install
|
||||||
)
|
)
|
||||||
|
|
||||||
build_grub --with-platform=pc
|
build_grub --with-platform=pc
|
||||||
|
@ -6,4 +6,4 @@ export CFLAGS="$CFLAGS -static"
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -7,4 +7,4 @@ export LDFLAGS="$LDFLAGS -static"
|
|||||||
--disable-nls
|
--disable-nls
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# --enable-debug
|
# --enable-debug
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
mkdir -p "$1/usr/bin"
|
mkdir -p "$1/usr/bin"
|
||||||
ln -s /usr/lib/ld-musl-x86_64.so.1 "$1/usr/bin/ldd"
|
ln -s /usr/lib/ld-musl-x86_64.so.1 "$1/usr/bin/ldd"
|
||||||
|
@ -3,18 +3,16 @@
|
|||||||
# Intentional, globbing disabled.
|
# Intentional, globbing disabled.
|
||||||
# shellcheck disable=2086
|
# shellcheck disable=2086
|
||||||
|
|
||||||
set -- pigz.o yarn.o try.o
|
for f in pigz.o yarn.o try.o; do
|
||||||
|
|
||||||
for f do
|
|
||||||
"$CC" -c -o "$f" "${f%%.o}.c" $CPPFLAGS -DNOZOPFLI $CFLAGS
|
"$CC" -c -o "$f" "${f%%.o}.c" $CPPFLAGS -DNOZOPFLI $CFLAGS
|
||||||
done
|
done
|
||||||
"$CC" -static -o pigz "$@" $CPPFLAGS $CFLAGS -lz $LDFLAGS
|
"$CC" -static -o pigz "$@" $CPPFLAGS $CFLAGS -lz $LDFLAGS
|
||||||
|
|
||||||
mkdir -p \
|
mkdir -p \
|
||||||
"$DESTDIR/usr/bin" \
|
"$1/usr/bin" \
|
||||||
"$DESTDIR/usr/share/man/man1"
|
"$1/usr/share/man/man1"
|
||||||
|
|
||||||
cp -f pigz "$DESTDIR/usr/bin"
|
cp -f pigz "$1/usr/bin"
|
||||||
ln -sf pigz "$DESTDIR/usr/bin/gzip"
|
ln -sf pigz "$1/usr/bin/gzip"
|
||||||
cp -f pigz.1 "$DESTDIR/usr/share/man/man1"
|
cp -f pigz.1 "$1/usr/share/man/man1"
|
||||||
ln -sf pigz.1 "$DESTDIR/usr/share/man/man1/gzip.1"
|
ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
--disable-nls
|
--disable-nls
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# Link the binaries statically
|
# Link the binaries statically
|
||||||
cd src
|
cd src
|
||||||
@ -17,6 +17,6 @@ make LDFLAGS="$LDFLAGS -all-static" -C lzmainfo
|
|||||||
make LDFLAGS="$LDFLAGS -all-static" -C xzdec
|
make LDFLAGS="$LDFLAGS -all-static" -C xzdec
|
||||||
|
|
||||||
for bin in xz/xz lzmainfo/lzmainfo xzdec/lzmadec xzdec/xzdec; do
|
for bin in xz/xz lzmainfo/lzmainfo xzdec/lzmadec xzdec/xzdec; do
|
||||||
cp "$bin" "$DESTDIR/usr/bin"
|
cp "$bin" "$1/usr/bin"
|
||||||
chmod 755 "$DESTDIR/usr/bin/${bin##*/}"
|
chmod 755 "$1/usr/bin/${bin##*/}"
|
||||||
done
|
done
|
||||||
|
@ -6,4 +6,4 @@ export CFLAGS="$CFLAGS -fPIC"
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
--disable-nls
|
--disable-nls
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
cp -fr colemak "$1/usr/share/bkeymaps"
|
cp -fr colemak "$1/usr/share/bkeymaps"
|
||||||
|
|
||||||
|
@ -23,4 +23,4 @@ sh ./configure \
|
|||||||
--disable-gtk-doc-html
|
--disable-gtk-doc-html
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
export LDFLAGS="$LDFLAGS -static"
|
export LDFLAGS="$LDFLAGS -static"
|
||||||
|
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
if command -v cmake >/dev/null; then
|
if command -v cmake >/dev/null; then
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
@ -25,7 +27,7 @@ else
|
|||||||
-DBUILD_CursesDialog=OFF
|
-DBUILD_CursesDialog=OFF
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
--without-udev
|
--without-udev
|
||||||
|
|
||||||
make
|
make
|
||||||
make BINMODE=755 install
|
make DESTDIR="$1" BINMODE=755 install
|
||||||
|
|
||||||
# Install runit service.
|
# Install runit service.
|
||||||
mkdir -p "$1/etc/sv/dhcpcd"
|
mkdir -p "$1/etc/sv/dhcpcd"
|
||||||
|
@ -11,4 +11,4 @@ mv -f _ Makefile.in
|
|||||||
--enable-compat-symlinks
|
--enable-compat-symlinks
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -17,6 +17,7 @@ export LDFLAGS="$LDFLAGS -static"
|
|||||||
make
|
make
|
||||||
|
|
||||||
set -- \
|
set -- \
|
||||||
|
DESTDIR="$1" \
|
||||||
MKDIR_P="mkdir -p" \
|
MKDIR_P="mkdir -p" \
|
||||||
BLKID_MAN="" \
|
BLKID_MAN="" \
|
||||||
BLKID_PROG="" \
|
BLKID_PROG="" \
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
mv docs/efisecdb.1.mdoc docs/efisecdb.1
|
mv docs/efisecdb.1.mdoc docs/efisecdb.1
|
||||||
|
|
||||||
make COMPILER="$CC"
|
make COMPILER="$CC"
|
||||||
make libdir=/usr/lib/ install
|
make DESTDIR="$1" libdir=/usr/lib/ install
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
--disable-dbus
|
--disable-dbus
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
cp -f iwd_passphrase "$1/usr/bin"
|
cp -f iwd_passphrase "$1/usr/bin"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
--without-docbook
|
--without-docbook
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# Remove documentation (Changelogs, etc).
|
# Remove documentation (Changelogs, etc).
|
||||||
rm -rf "${1:?}/usr/share"
|
rm -rf "${1:?}/usr/share"
|
||||||
|
@ -32,6 +32,6 @@ patch -p1 < add-av_stream_get_first_dts-for-chromium.patch
|
|||||||
--x86asmexe=nasm \
|
--x86asmexe=nasm \
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
rm -rf "$1/usr/share/ffmpeg/examples"
|
rm -rf "$1/usr/share/ffmpeg/examples"
|
||||||
|
@ -72,7 +72,7 @@ ac_add_options --disable-system-extension-dirs
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
./mach build
|
./mach build
|
||||||
./mach install
|
DESTDIR="$1" ./mach install
|
||||||
|
|
||||||
# Remove a lot of uneeded "stuff".
|
# Remove a lot of uneeded "stuff".
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
@ -16,4 +16,4 @@ mv -f _ src/Makefile.in
|
|||||||
--disable-nls
|
--disable-nls
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
build_freetype() (
|
build_freetype() (
|
||||||
cd freetype
|
cd freetype
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
: > fuzzing/meson.build
|
: > fuzzing/meson.build
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
|
@ -6,6 +6,6 @@ export CFLAGS="$CFLAGS -Wno-error -static"
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
cp -f src/grep "$1/usr/bin/ggrep"
|
cp -f src/grep "$1/usr/bin/ggrep"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
for p in *.patch; do
|
for p in *.patch; do
|
||||||
patch -p1 < "$p"
|
patch -p1 < "$p"
|
||||||
done
|
done
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
--disable-blacklist
|
--disable-blacklist
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
. output
|
. output
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
make
|
make
|
||||||
make -j1 PREFIX=/usr install
|
make -j1 DESTDIR="$1" PREFIX=/usr install
|
||||||
|
@ -12,4 +12,4 @@ mv -f _ doc/Makefile.in
|
|||||||
--disable-gtktest
|
--disable-gtktest
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -14,4 +14,4 @@ sh ./configure \
|
|||||||
--enable-fontconfig
|
--enable-fontconfig
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -16,8 +16,8 @@ sh ./configure \
|
|||||||
# Skip the default make target and build only what we need.
|
# Skip the default make target and build only what we need.
|
||||||
make -C lib
|
make -C lib
|
||||||
make -C libelf
|
make -C libelf
|
||||||
make -C libelf install
|
make -C libelf DESTDIR="$1" install
|
||||||
make -C doc install-man3
|
make -C doc DESTDIR="$1" install-man3
|
||||||
|
|
||||||
mkdir -p "$1/usr/lib/pkgconfig"
|
mkdir -p "$1/usr/lib/pkgconfig"
|
||||||
cp -f config/libelf.pc "$1/usr/lib/pkgconfig/libelf.pc"
|
cp -f config/libelf.pc "$1/usr/lib/pkgconfig/libelf.pc"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson setup \
|
meson setup \
|
||||||
-Dprefix=/usr \
|
-Dprefix=/usr \
|
||||||
-Degl=yes \
|
-Degl=yes \
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
--with-pic
|
--with-pic
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
patch -p1 < no-docs.patch
|
patch -p1 < no-docs.patch
|
||||||
|
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make -C src
|
make -C src
|
||||||
make -C include install
|
make -C include DESTDIR="$1" install
|
||||||
make -C src install
|
make -C src DESTDIR="$1" install
|
||||||
|
|
||||||
make install-m4dataDATA install-pkgconfigDATA
|
make DESTDIR="$1" \
|
||||||
|
install-m4dataDATA \
|
||||||
|
install-pkgconfigDATA
|
||||||
|
@ -6,4 +6,4 @@ patch -p1 < apng.patch
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -7,6 +7,6 @@ patch -p1 < fix-theoraenc.patch
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make -C lib install
|
make -C lib DESTDIR="$1" install
|
||||||
make -C include install
|
make -C include DESTDIR="$1" install
|
||||||
make install-pkgconfigDATA
|
make DESTDIR="$1" install-pkgconfigDATA
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
|
|
||||||
make PREFIX=/usr
|
make PREFIX=/usr
|
||||||
make PREFIX=/usr install
|
make PREFIX=/usr DESTDIR="$1" install
|
||||||
|
|
||||||
mkdir -p "$1/usr/bin"
|
mkdir -p "$1/usr/bin"
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
@ -5,8 +5,10 @@
|
|||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
make -C lib install
|
make -C lib DESTDIR="$1" install
|
||||||
make -C include install
|
make -C include DESTDIR="$1" install
|
||||||
|
|
||||||
make install-m4dataDATA install-pkgconfigDATA
|
make DESTDIR="$1" \
|
||||||
|
install-m4dataDATA \
|
||||||
|
install-pkgconfigDATA
|
||||||
|
|
||||||
|
@ -25,4 +25,4 @@ sh ./configure \
|
|||||||
--as=nasm
|
--as=nasm
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -9,4 +9,4 @@
|
|||||||
--enable-libwebpdecoder
|
--enable-libwebpdecoder
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
mv Modules/* cmake/modules/
|
mv Modules/* cmake/modules/
|
||||||
|
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
|
@ -21,6 +21,6 @@ EOF
|
|||||||
sh ./configure
|
sh ./configure
|
||||||
|
|
||||||
make
|
make
|
||||||
make -j1 base-install
|
make -j1 DESTDIR="$1" base-install
|
||||||
|
|
||||||
chmod 755 "$1/usr/bin/"*
|
chmod 755 "$1/usr/bin/"*
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
--enable-static-libc
|
--enable-static-libc
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
mkdir -p "$1/etc/sv/mdevd"
|
mkdir -p "$1/etc/sv/mdevd"
|
||||||
cp -f mdevd.conf "$1/etc"
|
cp -f mdevd.conf "$1/etc"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
# rust_std is not (yet?) supported by muon, and we should try
|
# rust_std is not (yet?) supported by muon, and we should try
|
||||||
# to avoid a hard rust dependency here if possible.
|
# to avoid a hard rust dependency here if possible.
|
||||||
sed "s/, 'rust_std=2021'//" meson.build > _
|
sed "s/, 'rust_std=2021'//" meson.build > _
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
# Force a static build so shared library breakage does not also break the
|
# Force a static build so shared library breakage does not also break the
|
||||||
# linker (and therefore the ability to recover from the issue).
|
# linker (and therefore the ability to recover from the issue).
|
||||||
# XXX: Static linking prevents mold from using dlopen() which is required
|
# XXX: Static linking prevents mold from using dlopen() which is required
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
-Dalsa=enabled \
|
-Dalsa=enabled \
|
||||||
|
@ -16,7 +16,7 @@ mv -f _ Makefile.in
|
|||||||
--with-ssl
|
--with-ssl
|
||||||
|
|
||||||
make
|
make
|
||||||
make install-exec
|
make DESTDIR="$1" install-exec
|
||||||
|
|
||||||
rm -f "$1/etc/mime.types"
|
rm -f "$1/etc/mime.types"
|
||||||
|
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
--without-cxx-binding
|
--without-cxx-binding
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# Force ncurses to link against wide-character ncurses library.
|
# Force ncurses to link against wide-character ncurses library.
|
||||||
for lib in ncurses form panel menu; do
|
for lib in ncurses form panel menu; do
|
||||||
|
@ -15,7 +15,7 @@ CFLAGS="$CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 \
|
|||||||
--enable-64bit
|
--enable-64bit
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# $1 is never unset
|
# $1 is never unset
|
||||||
# shellcheck disable=2115
|
# shellcheck disable=2115
|
||||||
|
@ -10,7 +10,7 @@ BINGRP="$(id -g)" \
|
|||||||
--without-pam
|
--without-pam
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
mkdir -p "$1/etc"
|
mkdir -p "$1/etc"
|
||||||
cp -f doas.conf "$1/etc"
|
cp -f doas.conf "$1/etc"
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
--enable-float-approx
|
--enable-float-approx
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
patch -p1 < no-fribidi.patch
|
patch -p1 < no-fribidi.patch
|
||||||
|
|
||||||
# Disable download of missing (optional) dependencies
|
# Disable download of missing (optional) dependencies
|
||||||
|
@ -9,4 +9,4 @@
|
|||||||
--enable-jit
|
--enable-jit
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
ln -s pkgconf "$1/usr/bin/pkg-config"
|
ln -s pkgconf "$1/usr/bin/pkg-config"
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ done
|
|||||||
--with-ensurepip=yes
|
--with-ensurepip=yes
|
||||||
|
|
||||||
make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000"
|
make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000"
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
ln -s python3 "$1/usr/bin/python"
|
ln -s python3 "$1/usr/bin/python"
|
||||||
ln -s pip3 "$1/usr/bin/pip"
|
ln -s pip3 "$1/usr/bin/pip"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
patch -p1 < fix-curl.patch
|
patch -p1 < fix-curl.patch
|
||||||
|
|
||||||
# Instruct the compiler to trim absolute paths in resulting binaries and instead
|
# Instruct the compiler to trim absolute paths in resulting binaries and instead
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
make PREFIX=/usr
|
make PREFIX=/usr
|
||||||
make PREFIX=/usr install
|
make PREFIX=/usr DESTDIR="$1" install
|
||||||
|
|
||||||
ln -sf samu "$1/usr/bin/ninja"
|
ln -sf samu "$1/usr/bin/ninja"
|
||||||
ln -sf samu.1 "$1/usr/share/man/man1/ninja.1"
|
ln -sf samu.1 "$1/usr/share/man/man1/ninja.1"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
make PREFIX=/usr
|
make PREFIX=/usr
|
||||||
make PREFIX=/usr install
|
make PREFIX=/usr DESTDIR="$1" install
|
||||||
|
@ -11,4 +11,4 @@ export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA"
|
|||||||
ac_cv_search_readline=no \
|
ac_cv_search_readline=no \
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
make
|
make
|
||||||
make \
|
make \
|
||||||
|
DESTDIR="$1" \
|
||||||
PREFIX=/usr \
|
PREFIX=/usr \
|
||||||
BINOWN="$(id -u)" \
|
BINOWN="$(id -u)" \
|
||||||
BINGRP="$(id -g)" \
|
BINGRP="$(id -g)" \
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
--disable-mpers
|
--disable-mpers
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
pkg_dir=$1
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" ZICDIR=/usr/bin install
|
make DESTDIR="$1" ZICDIR=/usr/bin install
|
||||||
|
|
||||||
set -- africa asia australasia europe northamerica southamerica
|
set -- africa asia australasia europe northamerica southamerica
|
||||||
|
|
||||||
./zic -d "$DESTDIR/usr/share/zoneinfo" "$@"
|
./zic -d "$pkg_dir/usr/share/zoneinfo" "$@"
|
||||||
./zic -d "$DESTDIR/usr/share/zoneinfo/posix" "$@"
|
./zic -d "$pkg_dir/usr/share/zoneinfo/posix" "$@"
|
||||||
./zic -d "$DESTDIR/usr/share/zoneinfo/right" -L leapseconds "$@"
|
./zic -d "$pkg_dir/usr/share/zoneinfo/right" -L leapseconds "$@"
|
||||||
./zic -d "$DESTDIR/usr/share/zoneinfo" -p America/New_York
|
./zic -d "$pkg_dir/usr/share/zoneinfo" -p America/New_York
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
--without-systemd
|
--without-systemd
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# Fix broken --sbindir.
|
# Fix broken --sbindir.
|
||||||
mv -f "$1/usr/sbin/"* "$1/usr/bin"
|
mv -f "$1/usr/sbin/"* "$1/usr/bin"
|
||||||
|
@ -17,4 +17,4 @@
|
|||||||
--without-x
|
--without-x
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -6,7 +6,7 @@ export CFLAGS
|
|||||||
cd wpa_supplicant
|
cd wpa_supplicant
|
||||||
|
|
||||||
make LIBDIR=/usr/lib BINDIR=/usr/bin
|
make LIBDIR=/usr/lib BINDIR=/usr/bin
|
||||||
make LIBDIR=/usr/lib BINDIR=/usr/bin install
|
make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install
|
||||||
|
|
||||||
mkdir -p \
|
mkdir -p \
|
||||||
"$1/usr/share/man/man5" \
|
"$1/usr/share/man/man5" \
|
||||||
|
@ -10,4 +10,4 @@ patch -p1 < portability.patch
|
|||||||
--enable-shared
|
--enable-shared
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make DESTDIR="$1" install
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
cmake source \
|
cmake source \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
@ -4,6 +4,7 @@ sed 's/^FLAGS.*=/FLAGS = -static /' programs/Makefile > _
|
|||||||
mv -f _ programs/Makefile
|
mv -f _ programs/Makefile
|
||||||
|
|
||||||
make \
|
make \
|
||||||
|
DESTDIR="$1" \
|
||||||
PREFIX=/usr \
|
PREFIX=/usr \
|
||||||
HAVE_LZMA=0 \
|
HAVE_LZMA=0 \
|
||||||
HAVE_ZLIB=0 \
|
HAVE_ZLIB=0 \
|
||||||
|
@ -72,7 +72,7 @@ ac_add_options --disable-system-extension-dirs
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
./mach build
|
./mach build
|
||||||
./mach install
|
DESTDIR="$1" ./mach install
|
||||||
|
|
||||||
# Remove a lot of uneeded "stuff".
|
# Remove a lot of uneeded "stuff".
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
@ -10,4 +10,4 @@ patch -p1 < compose-only.patch
|
|||||||
--without-xmlto
|
--without-xmlto
|
||||||
|
|
||||||
make -C nls
|
make -C nls
|
||||||
make -C nls install
|
make -C nls DESTDIR="$1" install
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
-Dsvg-backend=none \
|
-Dsvg-backend=none \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
[ "$WAYLAND_DISPLAY" ] || {
|
[ "$WAYLAND_DISPLAY" ] || {
|
||||||
printf 'error: foot-pgo requires a running wayland session\n' >&2
|
printf 'error: foot-pgo requires a running wayland session\n' >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
-Djpeg=disabled \
|
-Djpeg=disabled \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
-Dvalgrind=disabled \
|
-Dvalgrind=disabled \
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
export CFLAGS="$CFLAGS -fPIC"
|
export CFLAGS="$CFLAGS -fPIC"
|
||||||
|
|
||||||
# Build fails with clang due to -Werror (forced on) and
|
# Build fails with clang due to -Werror (forced on) and
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson setup \
|
meson setup \
|
||||||
-Dprefix=/usr \
|
-Dprefix=/usr \
|
||||||
output
|
output
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# Build fails in with clang due to
|
# Build fails in with clang due to
|
||||||
# -Werror -> -Wsign-compare.
|
# -Werror -> -Wsign-compare.
|
||||||
export CFLAGS="-Wno-error $CFLAGS"
|
export CFLAGS="-Wno-error $CFLAGS"
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libexecdir=/usr/lib \
|
--libexecdir=/usr/lib \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson setup \
|
meson setup \
|
||||||
-Dprefix=/usr \
|
-Dprefix=/usr \
|
||||||
-Dgtk=disabled \
|
-Dgtk=disabled \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
export DESTDIR="$1"
|
||||||
|
|
||||||
meson \
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user