You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
735 B
32 lines
735 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit flag-o-matic toolchain-funcs
|
|
|
|
DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor"
|
|
HOMEPAGE="http://gnuwin32.sourceforge.net/packages/mscompress.htm"
|
|
SRC_URI="ftp://ftp.penguin.cz/pub/users/mhi/mscompress/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-makefile.patch
|
|
"${FILESDIR}"/${P}-amd64.patch
|
|
)
|
|
|
|
src_configure() {
|
|
tc-export CC
|
|
[[ $(tc-arch) == ppc* ]] && append-flags -fsigned-char
|
|
econf
|
|
}
|
|
|
|
src_install() {
|
|
dobin mscompress msexpand
|
|
doman mscompress.1 msexpand.1
|
|
einstalldocs
|
|
}
|