void-packages/srcpkgs/cpio/template

30 lines
973 B
Plaintext
Raw Normal View History

# Template file for 'cpio'
pkgname=cpio
version=2.11
revision=2
build_style=gnu-configure
configure_args="gl_cv_func_stat_file_slash=yes gl_cv_func_malloc_posix=yes
gl_cv_func_unlink_works=yes gl_cv_func_unsetenv_work=yes ac_cv_func_unlinkat=yes
ac_cv_func_unsetenv=yes gt_cv_func_unsetenv_ret='int' gl_cv_func_setenv_works=yes"
short_desc="GNU copy-in/out (cpio) with remote magnetic tape (rmt) support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/cpio/"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=601b1d774cd6e4cd39416203c91ec59dbd65dd27d79d75e1a9b89497ea643978
long_desc="
GNU cpio is a full-featured cpio command that can access remote and
local magnetic tapes, and both tar and cpio format archives in files or
on tapes."
post_install() {
# Remove rmt that conflicts with the one from tar.
rm -rf ${DESTDIR}/usr/libexec
}
cpio_package() {
pkg_install() {
vmove usr
}
}