2 DESCRIPTION
= "GNU tar saves many files together into a single tape \
3 or disk archive, and can restore individual files from the archive."
7 SRC_URI
= "ftp://alpha.gnu.org/gnu/tar/tar-${PV}.tar.gz \
8 file://configure.patch;patch=1 \
9 file://m4.patch;patch=1"
15 install
-d $
{D
}$
{base_bindir
}
16 mv $
{D
}$
{bindir
}/tar $
{D
}$
{base_bindir
}/tar.$
{PN
}
17 mv $
{D
}$
{libexecdir
}/rmt $
{D
}$
{libexecdir
}/rmt.$
{PN
}
20 pkg_postinst_$
{PN
} () {
21 update
-alternatives
--install $
{base_bindir
}/tar tar tar.$
{PN
} 100
22 update
-alternatives
--install $
{libexecdir
}/rmt rmt rmt.$
{PN
} 100
26 update
-alternatives
--remove tar tar.$
{PN
}
27 update
-alternatives
--remove rmt rmt.$
{PN
}