working on fixing system packages ahead of 1.0 release

This commit is contained in:
Liam Waldron 2023-10-16 12:28:00 -04:00
parent 27c55f28a0
commit 5f0287aacf

View File

@ -1,70 +0,0 @@
#
# musl
#
# Package metadata
PACKAGE_NAME="musl"
PACKAGE_VER="1.2.3"
PACKAGE_DESC="musl C library"
MAINTAINER="liamwaldron@everestlinux.org"
LICENSE="MIT"
ARCH="x86"
INCLUDED_FILES=("/include/*" "/lib/crt1.o" "/lib/crt1.o" "/lib/crtn.o" "/lib/libc.a" "/lib/libcrypt.a" "/lib/libc.so" "/lib/libdl.a" "/lib/libm.a" "/lib/libpthread.a" "/lib/libresolv.a" "/lib/librt.a" "/lib/libutil.a" "/lib/libxnet.a" "/lib/rcrt1.o" "/lib/Scrt1.o")
# Integrity checking
SHA256SUMS=""
# Dependency information
DEPENDS=("")
CONFLICTS=("")
# Source information
PACKAGE_SRC="https://musl.libc.org/releases/musl-1.2.3.tar.gz"
SOURCES=("musl-1.2.3.tar.gz" "musl-1.2.3")
# Installation
getsource() {
wget $PACKAGE_SRC
tar xf ${SOURCES[0]}
cd ${SOURCES[1]}
}
buildpkg() {
./configure \
--prefix=${BLDR_OUT_DIR}/pkgs/musl \
--target="x86_64-linux-musl" \
CFLAGS="${CFLAGS}"
make ${MAKEFLAGS}
}
installpkg() {
make install ${MAKEFLAGS}
}
installpkg_system() {
printf "Not supported for this package.\n"
exit 1
}
removepkg() {
rm -rf ${BLDR_OUT_DIR}/pkgs/musl
}
removepkg_system() {
printf "Not supported for this package.\n"
exit 1
}
updatepkg() {
buildpkg "$@"
installpkg "$@"
}
updatepkg_system() {
printf "Not supported for this package.\n"
exit 1
}
#
# end nano
#