mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
87 lines
2.1 KiB
Plaintext
87 lines
2.1 KiB
Plaintext
SUMMARY="Easily extensible archiver"
|
|
DESCRIPTION="
|
|
The XAR project aims to provide an easily extensible archive format. Important \
|
|
design decisions include an easily extensible XML table of contents for random \
|
|
access to archived files, storing the toc at the beginning of the archive to \
|
|
allow for efficient handling of streamed archives, the ability to handle files \
|
|
of arbitrarily large sizes, the ability to choose independent encodings for \
|
|
individual files in the archive, the ability to store checksums for individual \
|
|
files in both compressed and uncompressed form, and the ability to query the \
|
|
table of content's rich meta-data.
|
|
"
|
|
LICENSE="BSD (3-clause)"
|
|
COPYRIGHT="2005 Rob Braun"
|
|
HOMEPAGE="http://code.google.com/p/xar/"
|
|
SRC_URI="http://xar.googlecode.com/files/xar-1.5.2.tar.gz"
|
|
CHECKSUM_MD5="8eabb055d3387b8edc30ecfb08d2e80d"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86"
|
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
# for a different secondary architecture.
|
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
else
|
|
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
xar$secondaryArchSuffix = $portVersion compat = 1.5.2
|
|
cmd:xar$secondaryArchSuffix = $portVersion compat = 1.5.2
|
|
lib:libxar$secondaryArchSuffix = $portVersion compat = 1.5.2
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libxml2
|
|
lib:libcrypto
|
|
lib:libz
|
|
lib:libbz2
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
devel:libxml2
|
|
devel:libcrypto
|
|
devel:libz
|
|
devel:libbz2
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
devel:libxar$secondaryArchSuffix = $portVersion compat = 1.5.2
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
xar$secondaryArchSuffix == $portVersion
|
|
"
|
|
|
|
PATCHES="xar-1.5.2.patchset"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libxar
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|