Add xbps-0.59.1.

This also required

- merging of usr/sbin and usr/bin (which should be done anyway), because
  of a dodgy PATH searcher
- moving of zlib earlier.
This commit is contained in:
fosslinux 2021-12-20 13:40:19 +11:00
parent 94069328ec
commit a1520a07fa
8 changed files with 100 additions and 2 deletions

View file

@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_configure() {
PKG_CONFIG_PATH="${PREFIX}/lib/musl/pkgconfig" \
./configure --prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--pkgconfigdir="${PREFIX}/lib/musl/pkgconfig" \
--enable-rpath \
--enable-static
echo "CFLAGS += -Wno-error" >> config.mk
}
src_install() {
default
rm "${PREFIX}/lib/musl/libxbps.so"*
}