new: libmp

This commit is contained in:
ngn 2024-08-11 05:09:53 +03:00
parent e32e1866c1
commit 2969bc9af3
3 changed files with 32 additions and 0 deletions

3
src/libmp/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/libmp/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 24.02
First version

27
src/libmp/pkg.sh Normal file
View File

@ -0,0 +1,27 @@
# general info
NAME="libmp"
DESC="MatterLinux package management library"
VERSION="24.02"
# required files
FILES=("https://git.matterlinux.xyz/Matter/libmp/archive/${VERSION}.tar.gz")
HASHES=("d0d562b766221ed0550c1f6854d3afbf0a12d48c68258fd5fd15033d758c1a91")
# install and build depends
DEPENDS=(
"openssl" "libarchive" "libinih"
"sqlite3" "gpgme" "gettext"
)
BUILD=("gcc" "make")
PACKAGE(){
tar xf "${VERSION}.tar.gz"
cd "${NAME}"
make
install -Ddm755 "${ROOTDIR}/usr/lib"
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}"
}