void-packages/srcpkgs/cpio/template

21 lines
762 B
Bash

# Template file for 'cpio'
pkgname=cpio
version=2.11
revision=8
build_pie=yes
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@voidlinux.eu>"
homepage="http://www.gnu.org/software/cpio/"
license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=bb820bfd96e74fc6ce43104f06fe733178517e7f5d1cdee553773e8eff7d5bbd
post_install() {
# Remove rmt that conflicts with the one from tar.
rm -rf ${DESTDIR}/usr/libexec
}