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.

38 lines
621 B

4 years ago
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="3 stage byte shuffler"
HOMEPAGE=""
SRC_URI="https://git.flanchan.moe/flanchan/shuffle3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-4+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
IUSE="debug"
src_unpack() {
default
mv ${PN}{,-${PV}}
}
src_compile() {
if use debug; then
CFLAGS="" LDFLAGS="" emake debug
mv build/${PN}{-debug,}
else
RELEASE_CFLAGS="" RELEASE_LDFLAGS="" default
mv build/${PN}{-release,}
fi
}
src_install() {
dobin build/${PN}
}