new: libmp
This commit is contained in:
parent
e32e1866c1
commit
2969bc9af3
3
src/libmp/.gitignore
vendored
Normal file
3
src/libmp/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/libmp/changes.md
Normal file
2
src/libmp/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 24.02
|
||||||
|
First version
|
27
src/libmp/pkg.sh
Normal file
27
src/libmp/pkg.sh
Normal 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}"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user