Added unlzx ebuild

This commit is contained in:
layman 2020-01-22 23:39:38 +01:00
parent ea210cb7dd
commit 486f6c6eaf
2 changed files with 32 additions and 0 deletions

3
app-arch/unlzx/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST unlzx.c.gz 9680 BLAKE2B 724ce049a67a4023a188ce6ae2326023bb57780d6e411887b1ec0898ceea5873d20c3bfb7ddd63933e7ed95b952228dea0c2325ea6ad057e524638e76c7bc100 SHA512 f88812e06c0de47ace6ef2d405193ebbfde9091da8ab6a493ea57054e1c2c08b3217510b8564756b9e54392afe88fe822b77317c541be0dda90deac96db61057
DIST unlzx.c.gz.readme 642 BLAKE2B 880cf462a2b13917eab039fbca01d24aa4540ebec341651303ed8e86e564b38442b12f9ad147311671aa96a686b21f8a0a94c0cf9311dc9d73d5d7ac8c6ecab8 SHA512 1ddd75fd4ad181f7c4887508d58c84d149407e94ff7715d68c4be5d0b69fc1237aeaf82851b6d45ca3d3a60098a6b83e118c66ffa573bd616bba8ff0838db4bb
EBUILD unlzx-1.1.ebuild 884 BLAKE2B 92808747157f40f90da16e89502e91151b0044674874f89c3aab7051ad61ad03e5eab121956da6ad3475247d73f36221b1ae32e599df17e4ef3b6327e4fba18b SHA512 3175f10a3a10acdb264643553547263cb80c7ce2ddb620f7f914570dc985bf5b0448d707ae7349dda63444558291f6066e5ad81910bfbf4e80848a6699b24281

View File

@ -0,0 +1,29 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unlzx/unlzx-1.1.ebuild,v 1.28 2010/01/01 19:43:52 fauli Exp $
inherit toolchain-funcs
DESCRIPTION="Unarchiver for Amiga LZX archives"
SRC_URI="ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz.readme"
HOMEPAGE="ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz.readme"
SLOT="0"
LICENSE="freedist"
IUSE=""
KEYWORDS="alpha amd64 ~hppa ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
src_unpack() {
mkdir "${S}"
gzip -dc "${DISTDIR}"/${PN}.c.gz > "${S}"/unlzx.c
cp "${DISTDIR}"/${PN}.c.gz.readme "${S}"/${PN}.c.gz.readme
}
src_compile() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o unlzx unlzx.c || die
}
src_install() {
dobin unlzx
dodoc unlzx.c.gz.readme
}