mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-04-25 13:51:24 +02:00
EAPI bump for unlzx
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Unarchiver for Amiga LZX archives"
|
||||
SRC_URI="http://aminet.net/misc/unix/${PN}.c.gz http://aminet.net/misc/unix/${PN}.c.readme"
|
||||
HOMEPAGE="http://aminet.net/package/misc/unix/unlzx.c"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="freedist"
|
||||
IUSE=""
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-compiler-warnings.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${S}"
|
||||
gzip -dc "${DISTDIR}"/${PN}.c.gz > "${S}"/unlzx.c
|
||||
cp "${DISTDIR}"/${PN}.c.readme "${S}"/${PN}.c.readme
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o unlzx unlzx.c || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unlzx
|
||||
dodoc unlzx.c.readme
|
||||
}
|
||||
Reference in New Issue
Block a user