2008-10-25 23:45:38 +02:00
|
|
|
# Template file for 'cpio'
|
|
|
|
pkgname=cpio
|
2010-03-25 11:13:31 +01:00
|
|
|
version=2.11
|
2013-06-14 18:08:10 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-06-14 18:08:10 +02:00
|
|
|
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"
|
2008-10-25 23:45:38 +02:00
|
|
|
short_desc="GNU copy-in/out (cpio) with remote magnetic tape (rmt) support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-31 12:39:48 +01:00
|
|
|
homepage="http://www.gnu.org/software/cpio/"
|
|
|
|
license="GPL-3"
|
2013-06-14 18:08:10 +02:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
|
|
|
checksum=601b1d774cd6e4cd39416203c91ec59dbd65dd27d79d75e1a9b89497ea643978
|
2008-10-25 23:45:38 +02:00
|
|
|
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."
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
post_install() {
|
2009-08-11 20:59:23 +02:00
|
|
|
# Remove rmt that conflicts with the one from tar.
|
|
|
|
rm -rf ${DESTDIR}/usr/libexec
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
cpio_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|