mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
22 lines
534 B
Plaintext
22 lines
534 B
Plaintext
name=brogue
|
|
revision=2
|
|
from_source=brogue
|
|
imagedeps="build-essential"
|
|
hostdeps="xgcc xbinutils pkgconfig"
|
|
deps="readline base ncurses"
|
|
|
|
configure() {
|
|
cp -rp ${source_dir}/* .
|
|
}
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration" make CC=x86_64-astral-gcc TERMINAL=YES DATADIR="/usr/share/games/brogue" RELEASE=YES GRAPHICS=NO LDLIBS=-ltinfow
|
|
}
|
|
|
|
package() {
|
|
mkdir -p ${dest_dir}/usr/bin
|
|
mkdir -p ${dest_dir}/usr/share/games
|
|
cp bin/brogue ${dest_dir}/usr/bin/brogue
|
|
cp -r bin ${dest_dir}/usr/share/games/brogue
|
|
}
|