From d9fc8a990cfff0b14bc4f340482d0943a0598317 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Tue, 8 Jan 2019 03:10:04 +0100 Subject: [PATCH] xorriso, new recipe (#3541) --- sys-fs/xorriso/xorriso-1.5.0.recipe | 77 +++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 sys-fs/xorriso/xorriso-1.5.0.recipe diff --git a/sys-fs/xorriso/xorriso-1.5.0.recipe b/sys-fs/xorriso/xorriso-1.5.0.recipe new file mode 100644 index 000000000..a308ec590 --- /dev/null +++ b/sys-fs/xorriso/xorriso-1.5.0.recipe @@ -0,0 +1,77 @@ +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="1" +SOURCE_URI="https://www.gnu.org/software/xorriso/xorriso-$portVersion.tar.gz" +CHECKSUM_SHA256="a93fa7ae5bb1902198cddfec25201388156932f36f2f5da829bf4fcae9a6062b" + +ARCHITECTURES="!x86_gcc2 x86 x86_64" +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 + 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 +}