summaryrefslogtreecommitdiff
path: root/games-util/biounzip
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-04-04 13:45:34 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-04-04 13:45:34 +0000
commite904358ac82a8f82a68480b91361877341ca4e8f (patch)
tree5e1cf09cce40709c57fcc997cbfcbfe12632f4d3 /games-util/biounzip
parent3c4d08a1952f5ab7fa00ef4eb90dc0ec7a0c5729 (diff)
downloadbaldeagleos-repo-e904358ac82a8f82a68480b91361877341ca4e8f.tar.gz
baldeagleos-repo-e904358ac82a8f82a68480b91361877341ca4e8f.tar.xz
baldeagleos-repo-e904358ac82a8f82a68480b91361877341ca4e8f.zip
Adding metadata
Diffstat (limited to 'games-util/biounzip')
-rw-r--r--games-util/biounzip/biounzip-1.1a.ebuild21
-rw-r--r--games-util/biounzip/files/biounzip-1.1a-64bit.patch4
2 files changed, 12 insertions, 13 deletions
diff --git a/games-util/biounzip/biounzip-1.1a.ebuild b/games-util/biounzip/biounzip-1.1a.ebuild
index b1483ff83303..6d115bd3c0cf 100644
--- a/games-util/biounzip/biounzip-1.1a.ebuild
+++ b/games-util/biounzip/biounzip-1.1a.ebuild
@@ -1,29 +1,28 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="Unpacks BioZip archives"
HOMEPAGE="https://sourceforge.net/projects/biounzip/"
SRC_URI="mirror://sourceforge/biounzip/${P}.tar.bz2"
+S="${WORKDIR}"/${P/a/}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
DEPEND="sys-libs/zlib"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}/${P/a/}
+RDEPEND="${DEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-64bit.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-64bit.patch
+)
src_compile() {
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} *.c -lz || die
+ $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${PN} *.c -lz || die
}
src_install() {
diff --git a/games-util/biounzip/files/biounzip-1.1a-64bit.patch b/games-util/biounzip/files/biounzip-1.1a-64bit.patch
index a8522189d31f..860261641ed4 100644
--- a/games-util/biounzip/files/biounzip-1.1a-64bit.patch
+++ b/games-util/biounzip/files/biounzip-1.1a-64bit.patch
@@ -1,5 +1,5 @@
---- biounzip-1.1-old/biounzip.c 2007-03-08 02:06:16.000000000 +0200
-+++ biounzip-1.1/biounzip.c 2007-03-08 02:06:50.000000000 +0200
+--- a/biounzip.c
++++ b/biounzip.c
@@ -127,7 +127,7 @@
void writefile(bzfile *ptr, FILE *fp, char *destdir)
{