# Template build file for 'tar'.
pkgname=tar
version=1.26
revision=3
build_style=gnu-configure
short_desc="The GNU tape archiver with remote magnetic tape support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/tar/"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/tar/$pkgname-$version.tar.bz2"
checksum=5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41

pre_configure() {
	sed -i -e '/gets is a/d' gnu/stdio.in.h
}

tar_package() {
	conflicts="chroot-tar>=0"
	pkg_install() {
		vmove usr
	}
}
