diff --git a/src/matt/.gitignore b/src/matt/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/matt/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/matt/changes.md b/src/matt/changes.md new file mode 100644 index 0000000..c75901a --- /dev/null +++ b/src/matt/changes.md @@ -0,0 +1,2 @@ +# 24.00 +First version diff --git a/src/matt/pkg.sh b/src/matt/pkg.sh new file mode 100644 index 0000000..fb7a8af --- /dev/null +++ b/src/matt/pkg.sh @@ -0,0 +1,27 @@ +# general info +NAME="matt" +DESC="The (new) MatterLinux package manager" +VERSION="24.00" + +# required files +FILES=("https://git.matterlinux.xyz/Matter/matt/archive/${VERSION}.tar.gz") +HASHES=("b2099575fdc14506c57dcaafbdb9a1bc207687e70eb26511e0aceb881ba54eaa") + +# install and build depends +DEPENDS=("libmp" "libinih" "gettext") +BUILD=("gcc" "make") + +PACKAGE(){ + tar xf "${VERSION}.tar.gz" + cd "${NAME}" + + make + + install -Ddm755 "${ROOTDIR}/usr/bin" + install -Ddm755 "${ROOTDIR}/etc" + + make DESTDIR="${ROOTDIR}" install + make DESTDIR="${ROOTDIR}" config + + cd .. && rm -r "${NAME}" +} diff --git a/src/openssl/.gitignore b/src/openssl/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/openssl/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/openssl/changes.md b/src/openssl/changes.md new file mode 100644 index 0000000..8c03bc6 --- /dev/null +++ b/src/openssl/changes.md @@ -0,0 +1,2 @@ +# 3.3.1 +First version diff --git a/src/openssl/pkg.sh b/src/openssl/pkg.sh new file mode 100644 index 0000000..22b74d7 --- /dev/null +++ b/src/openssl/pkg.sh @@ -0,0 +1,30 @@ +# general info +NAME="openssl" +DESC="Free and open-source software for general-purpose cryptography and secure communication" +VERSION="3.3.1" + +# required files +FILES=("https://www.openssl.org/source/openssl-${VERSION}.tar.gz") +HASHES=("777cd596284c883375a2a7a11bf5d2786fc5413255efab20c50d6ffe6d020b7e") + +# install and build depends +DEPENDS=("glibc" "perl" "make-ca") +BUILD=() + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./config --prefix=/usr \ + --openssldir=/etc/ssl \ + --libdir=lib \ + shared \ + zlib-dynamic + make + sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile + make DESTDIR="${ROOTDIR}" MANSUFFIX=ssl install + mv -v "${ROOTDIR}/usr/share/doc/openssl" "${ROOTDIR}/usr/share/doc/openssl-${VERSION}" + cp -vfr doc/* "${ROOTDIR}/usr/share/doc/openssl-${VERSION}" + + cd .. && rm -r "${NAME}-${VERSION}" +}