mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
78 lines
1.9 KiB
Bash
78 lines
1.9 KiB
Bash
SUMMARY="ISO 9660 Rock Ridge Filesystem Manipulator"
|
|
DESCRIPTION="xorriso is a program which copies file objects from POSIX \
|
|
compliant filesystems into Rock Ridge enhanced ISO 9660 filesystems and \
|
|
allows session-wise manipulation of such filesystems. It can load the \
|
|
management information of existing ISO images and it writes the session \
|
|
results to optical media or to filesystem objects.
|
|
Vice versa xorriso is able to restore file objects from ISO 9660 filesystems."
|
|
HOMEPAGE="https://www.gnu.org/software/xorriso/"
|
|
COPYRIGHT="2007-2018 Thomas Schmitt"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="https://www.gnu.org/software/xorriso/xorriso-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="3b69f5c93ae7c40c5bbe4a847fa3963f5efc9c565551622f77121c5792fc17e7"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
xorriso$secondaryArchSuffix = $portVersion
|
|
cmd:osirrox$commandSuffix
|
|
cmd:xorrecord$commandSuffix
|
|
cmd:xorriso$commandSuffix
|
|
cmd:xorriso_tcltk$commandSuffix
|
|
cmd:xorrisofs$commandSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libreadline$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libreadline$secondaryArchSuffix >= 8
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export LIBS="-lbsd"
|
|
./bootstrap
|
|
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|