43 lines
800 B
Bash
43 lines
800 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
EGIT_REPO_URI="https://bis64wqhh3louusbd45iyj76kmn4rzw5ysawyan5bkxwyzihj67c5lid.onion/xolatile/xolatilization"
|
|
inherit git-r3-tor
|
|
|
|
DESCRIPTION="The most hateful set of programs and libraries ever written..."
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
DEPEND=""
|
|
|
|
TARGET_LIST=(
|
|
xop
|
|
xscii
|
|
xighlight
|
|
xhallenge
|
|
xuxuxu
|
|
xarbon
|
|
)
|
|
|
|
src_compile() {
|
|
CFLAGS="-I. -std=gnu99 -Ofast"
|
|
CFLAGS="${CFLAGS} -Wno-unused-result -Wno-discarded-qualifiers"
|
|
CLIBS="-lpng"
|
|
|
|
ln -s $(realpath .) xolatile
|
|
|
|
for i in ${TARGET_LIST[@]}; do
|
|
gcc ${CFLAGS} -o $i $i.c ${CLIBS}
|
|
done
|
|
}
|
|
|
|
src_install() {
|
|
for i in ${TARGET_LIST[@]}; do
|
|
dobin $i
|
|
done
|
|
}
|