summaryrefslogtreecommitdiff
path: root/app-cdr/xbiso
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-cdr/xbiso
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-cdr/xbiso')
-rw-r--r--app-cdr/xbiso/Manifest4
-rw-r--r--app-cdr/xbiso/files/xbiso-0.6.1-libs.patch21
-rw-r--r--app-cdr/xbiso/metadata.xml9
-rw-r--r--app-cdr/xbiso/xbiso-0.6.1-r2.ebuild37
4 files changed, 71 insertions, 0 deletions
diff --git a/app-cdr/xbiso/Manifest b/app-cdr/xbiso/Manifest
new file mode 100644
index 000000000000..19296007b210
--- /dev/null
+++ b/app-cdr/xbiso/Manifest
@@ -0,0 +1,4 @@
+AUX xbiso-0.6.1-libs.patch 831 BLAKE2B 3be6bfd500f834d455ed0a8f471276c139871bb6876247ae38ccc4344ccf71b1694df67ece512398128202b025976fe0b751ea934201983cb51b20786627e18a SHA512 abbbd8cbb8ff0a2e3c13a6cac2598b42cc213a087e19c46d0665d95a3b394a513009609118cb661bbc207bb6121e335f2d6e755f3fdcba0cf03864bcd048b51f
+DIST xbiso-0.6.1.tar.gz 49698 BLAKE2B ac1605df188b0ec84d0798a0c0220405ce5082160025dc7b21405f1a17f8e0439c6f8d5dbbe293db1645ac0ad195fb0791fe765ea9e1b8c199461f97a2525dce SHA512 351b558c591c3a6c633fb07e081d57cf7ac8b15272ae19878f7d33a796567177aa4eb2fad64d71e6fd86ac18e1c25d30b52013a83ce5d44854f37ec893282fcc
+EBUILD xbiso-0.6.1-r2.ebuild 874 BLAKE2B b3a16c9762bb44c42f4d010014d1d68146bbf9edab3d0016ac4773868daffd3cb64ad34cf49f7d6c27a658ea6d32ff3249711e0b7bdc52fa428f7ba3f78722de SHA512 e1248654a198074e9b7f0d1b9ecfee94623a5d788339b1daf6dc272d62c636adb89a57c40b4388a085629e0ed49cad937b4a62fc7c23523beaae0f021e561d64
+MISC metadata.xml 323 BLAKE2B 6a0770e71ff7ea1d4aec6a1c463ef0e61da6e67d233faabe667fb48d66178810bb5a8cb45089aa9c6e9be72a10e88befa475ce12c2c5c5874276011543a67952 SHA512 688b4299ad48494730835903feb951941c1da2a69705d49dd4c64c7d0b8d9f5e6576e162f735739787063db73ff2dff41d5444375181e8488cff21f31c3d89f6
diff --git a/app-cdr/xbiso/files/xbiso-0.6.1-libs.patch b/app-cdr/xbiso/files/xbiso-0.6.1-libs.patch
new file mode 100644
index 000000000000..5b48ba674230
--- /dev/null
+++ b/app-cdr/xbiso/files/xbiso-0.6.1-libs.patch
@@ -0,0 +1,21 @@
+--- configure.in.orig 2014-12-02 18:56:23.000000000 +0300
++++ configure.in 2014-12-02 19:09:46.724190436 +0300
+@@ -6,13 +6,13 @@
+
+ dnl Checks for libraries.
+ dnl Replace `main' with a function in -lftp:
+-AC_CHECK_LIB(ftp, main,[LIBS="-DUSE_FTP -lftp"],AC_MSG_WARN([Warning libftp not found ftp features disabled]))
+ AC_CHECK_LIB(m, ceil,[LIBS="$LIBS -lm"],AC_MSG_ERROR([Error mlib is required]))
+-AC_ARG_ENABLE(ftp,
+-[
++AC_ARG_ENABLE([ftp],
++ AS_HELP_STRING([--disable-ftp],[Disables all ftp features and libftp dependencies]))
+
+- --disable-ftp Disables all ftp features and libftp dependencies
+-],[LIBS=""])
++AS_IF([test "x$enable_ftp" != "xno"], [
++ AC_SEARCH_LIBS([FtpInit],[ftp],[CPPFLAGS+="-DUSE_FTP"],AC_MSG_ERROR([libftp not found]))
++])
+
+ dnl Checks for header files.
+ AC_CONFIG_HEADERS([config.h:config.h.in])
diff --git a/app-cdr/xbiso/metadata.xml b/app-cdr/xbiso/metadata.xml
new file mode 100644
index 000000000000..0141167ac48a
--- /dev/null
+++ b/app-cdr/xbiso/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>Tools for manipulating Xbox ISO images</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">xbiso</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-cdr/xbiso/xbiso-0.6.1-r2.ebuild b/app-cdr/xbiso/xbiso-0.6.1-r2.ebuild
new file mode 100644
index 000000000000..0bfb72aa0667
--- /dev/null
+++ b/app-cdr/xbiso/xbiso-0.6.1-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="Xbox xdvdfs ISO extraction utility"
+HOMEPAGE="https://sourceforge.net/projects/xbiso/"
+SRC_URI="mirror://sourceforge/xbiso/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="ftp"
+
+RDEPEND="ftp? ( <net-libs/ftplib-4 )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e 's:C) $(CFLAGS):C) $(LDFLAGS) $(CFLAGS):' Makefile.in || die #337769
+ epatch "${FILESDIR}/${P}-libs.patch"
+ mv configure.in configure.ac || die #426262
+ eautoreconf
+}
+
+src_configure() {
+ # for this package, interix behaves the same as BSD
+ [[ ${CHOST} == *-interix* ]] && append-flags -D_BSD
+
+ econf \
+ $(use_enable ftp)
+}
+
+src_install() {
+ dobin xbiso
+ dodoc CHANGELOG README
+}