mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 13:08:53 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
SUMMARY="Saves and restores files to/from a tape or disk archive."
|
|
DESCRIPTION="
|
|
The Tar program provides the ability to create tar archives, as well as \
|
|
various other kinds of manipulation. For example, you can use Tar on \
|
|
previously created archives to extract files, to store additional files, or to \
|
|
update or list files which were already stored.
|
|
Initially, tar archives were used to store files conveniently on magnetic \
|
|
tape. The name "Tar" comes from this use; it stands for tape archiver. Despite \
|
|
the utility's name, Tar can direct its output to available devices, files, or \
|
|
other programs (using pipes), it can even access remote devices or files (as \
|
|
archives).
|
|
"
|
|
HOMEPAGE="http://www.gnu.org/software/tar/"
|
|
COPYRIGHT="1990-2011 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
SRC_URI="http://ftp.gnu.org/gnu/tar/tar-1.26.tar.bz2"
|
|
CHECKSUM_SHA256="5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41"
|
|
REVISION="6"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PATCHES="tar-1.26.patch"
|
|
|
|
PROVIDES="
|
|
tar = $portVersion compat >= 1
|
|
cmd:tar = $portVersion compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:automake
|
|
cmd:autoreconf
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
defineDebugInfoPackage tar \
|
|
$binDir/tar
|
|
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure \
|
|
--disable-nls \
|
|
LDFLAGS="-lnetwork" \
|
|
FORCE_UNSAFE_CONFIGURE=1
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/charset.alias
|
|
}
|