mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 07:40:07 +02:00
77 lines
1.7 KiB
Bash
77 lines
1.7 KiB
Bash
SUMMARY="A C library for manipulating tar files"
|
|
DESCRIPTION="libtar is a library for manipulating tar files from within C \
|
|
programs. Here are some of its features:
|
|
|
|
- Handles both POSIX tar file format and the GNU extensions.
|
|
- API provides functions for easy use, such as tar_extract_all().
|
|
- Also provides functions for more granular use, such as \
|
|
tar_append_regfile()."
|
|
HOMEPAGE="http://repo.or.cz/w/libtar.git/"
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="2"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
SOURCE_URI="http://repo.or.cz/w/libtar.git/snapshot/0907a9034eaf2a57e8e4a9439f793f3f05d446cd.tar.gz"
|
|
SOURCE_FILENAME="$portVersionedName.tar.gz"
|
|
CHECKSUM_SHA256="d1b2660d0af735fed2d2a0c3369dda7bea7445a4b1ef2f2742b352b1e1eec5f8"
|
|
COPYRIGHT="
|
|
1998-2003 University of Illinois Board of Trustees
|
|
1998-2003 Mark D. Roth
|
|
"
|
|
SOURCE_DIR="$portName"
|
|
|
|
PROVIDES="
|
|
libtar${secondaryArchSuffix} = $portVersion
|
|
cmd:libtar
|
|
lib:libtar${secondaryArchSuffix} = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
"
|
|
PROVIDES_devel="
|
|
libtar${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libtar$secondaryArchSuffix = 0.0.0
|
|
"
|
|
REQUIRES_devel="
|
|
libtar$secondaryArchSuffix == $portVersion base
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autoheader
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
aclocal
|
|
libtoolize -fci
|
|
autoheader
|
|
automake --add-missing
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libtar
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|