diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-10 05:10:21 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-10 05:10:27 -0400 |
commit | 61e5629c8b24bf2cb573cda93fc93163a49bc7ae (patch) | |
tree | 882d3498bcc7e7dc830e941c47b6f5db2b019535 /app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild | |
parent | extract-xiso: LICENSE: change to BSD-4 to reflect the source #556274 (diff) | |
download | gentoo-61e5629c8b24bf2cb573cda93fc93163a49bc7ae.tar.gz gentoo-61e5629c8b24bf2cb573cda93fc93163a49bc7ae.tar.bz2 gentoo-61e5629c8b24bf2cb573cda93fc93163a49bc7ae.zip |
extract-xiso: version bump
Diffstat (limited to 'app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild')
-rw-r--r-- | app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild b/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild new file mode 100644 index 000000000000..804db20dc1c1 --- /dev/null +++ b/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +MY_PV=${PV/_beta/b} + +DESCRIPTION="Tool for extracting and creating optimised Xbox ISO images" +HOMEPAGE="http://sourceforge.net/projects/extract-xiso" +SRC_URI="mirror://sourceforge/extract-xiso/${P}.tar.gz" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e 's:__LINUX__:__linux__:' \ + *.[ch] */*.[ch] || die +} + +doit() { echo "$@"; "$@"; } + +src_compile() { + doit $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \ + extract-xiso.c libftp-*/*.c -o extract-xiso || die +} + +src_install() { + dobin extract-xiso || die + dodoc README.TXT +} |