mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 05:16:12 +02:00
Build with gettext-tiny-dev to resolve error when building locale files. ``` make[1]: Entering directory '/home/buildozer/aports/community/gnuchess/src/gnuchess-6.2.9/po' make[1]: *** No rule to make target '/config.status', needed by 'Makefile'. Stop. ```
41 lines
899 B
Text
41 lines
899 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gnuchess
|
|
pkgver=6.2.11
|
|
pkgrel=0
|
|
pkgdesc="The GNU chess program"
|
|
url="https://www.gnu.org/software/chess/"
|
|
arch="all"
|
|
makedepends="automake autoconf gettext-tiny-dev xz"
|
|
license="GPL-3.0-or-later"
|
|
subpackages="$pkgname-doc"
|
|
source="https://ftp.gnu.org/gnu/chess/gnuchess-$pkgver.tar.gz"
|
|
|
|
# secfixes:
|
|
# 6.2.9-r0:
|
|
# - CVE-2021-30184
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
LDFLAGS="$LDFLAGS -Wl,-z,stack-size=2097152"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
2921b22bec59218f6a7ae8d47e8577f0fb5b1601d91c73b149ad466f5a49abbe3c7dcbb69c3e42e191c5dcfd6af53eb92ecd0ab2f02eee2157c5c7d0a882780c gnuchess-6.2.11.tar.gz
|
|
"
|