smlinux/base/cpio/cpio.SMBuild
PktSurf 32eaa8d266 Moved bootstrap function call into prepbuilddir and disabled static lib generation in base/brotli
Fixed man page path in base/chrpath
Removed unnecessary -a while cp'ing COPYING file in base/cpio
Added code to copy LICENSEs in base/{dmraid,libyaml,ndctl}
Only cp COPYING file in base/{libgit2,nasm,sbc,slapt-get}
Fix prefix in base/libvpx
Fix desc variable value in base/ncdu
base/patch does not need to be statically-linked
Disabled installation of example files in base/qpdf
Discarded --disable-tcl build option in base/sqlite
Applied CVE patch 2022-48303 for base/tar
2023-03-30 12:18:48 +05:30

33 lines
649 B
Text
Executable file

app=cpio
version=2.13
build=1sml
homepage="https://www.gnu.org/software/cpio/"
download="https://ftp.gnu.org/gnu/cpio/cpio-$version.tar.gz"
desc="Backup and archiving utility"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
CFLAGS+=" -fcommon" \
./configure \
--prefix=""
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
078d5d0ab398adb76b0a4e83a07821edf2cca5e84308ef547fd530c6c6c3d4b8577833581614aedfd23ca697cab058672dba7886642d8a3eb9ae769c10d672e8 cpio-2.13.tar.lz
"