new: move cpio from desktop pool
This commit is contained in:
parent
ae917e2554
commit
c701f2d170
3
src/cpio/.gitignore
vendored
Normal file
3
src/cpio/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/cpio/changes.md
Normal file
2
src/cpio/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 2.15
|
||||
First version
|
31
src/cpio/pkg.sh
Normal file
31
src/cpio/pkg.sh
Normal file
@ -0,0 +1,31 @@
|
||||
NAME="cpio"
|
||||
DESC="Copies files into or out of a cpio or tar archive"
|
||||
VERSION="2.15"
|
||||
|
||||
FILES=("https://ftp.gnu.org/gnu/cpio/cpio-${VERSION}.tar.bz2")
|
||||
HASHES=("3394d444ca1905ea56c94b628b706a0b")
|
||||
|
||||
DEPENDS=("glibc")
|
||||
BUILD=()
|
||||
|
||||
PACKAGE() {
|
||||
tar xf "${NAME}-${VERSION}.tar.bz2"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-mt \
|
||||
--with-rmt=/usr/libexec/rmt
|
||||
make
|
||||
makeinfo --html -o doc/html doc/cpio.texi
|
||||
makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi
|
||||
makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi
|
||||
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
install -v -m755 -d "${ROOTDIR}/usr/share/doc/cpio-${VERSION}/html"
|
||||
install -v -m644 doc/html/* \
|
||||
"${ROOTDIR}/usr/share/doc/cpio-${VERSION}/html"
|
||||
install -v -m644 doc/cpio.{html,txt} \
|
||||
"${ROOTDIR}/usr/share/doc/cpio-${VERSION}"
|
||||
|
||||
cd .. && rm -rf "${NAME}-${VERSION}"
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
# 24.05m1
|
||||
Added missing dependency: cpio
|
||||
|
||||
# 24.05
|
||||
Updated to new upstream release
|
||||
|
||||
|
@ -1,21 +1,22 @@
|
||||
# general info
|
||||
NAME="mtsc"
|
||||
DESC="MatterLinux tools and scripts collection"
|
||||
VERSION="24.05"
|
||||
VERSION="24.05m1"
|
||||
|
||||
# required files
|
||||
FILES=("https://git.matterlinux.xyz/Matter/mtsc/archive/${VERSION}.tar.gz")
|
||||
FILES=("https://git.matterlinux.xyz/Matter/mtsc/archive/${VERSION%m*}.tar.gz")
|
||||
HASHES=("665f6d417b7cc27bb6a467f6007921bb01ad6968bc1bb35093654143438d79bf")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=(
|
||||
"bash" "coreutils" "gnupg"
|
||||
"fakeroot" "tar" "matt"
|
||||
"cpio"
|
||||
)
|
||||
BUILD=()
|
||||
|
||||
PACKAGE(){
|
||||
tar xf "${VERSION}.tar.gz"
|
||||
tar xf "${VERSION%m*}.tar.gz"
|
||||
cd "${NAME}"
|
||||
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
Loading…
Reference in New Issue
Block a user