# Template file for 'cpio'
pkgname=cpio
version=2.11
revision=4
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

post_install() {
	# Remove rmt that conflicts with the one from tar.
	rm -rf ${DESTDIR}/usr/libexec
}
