aports/testing/gf2x/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

48 lines
1.2 KiB
Text

# Contributor: Alex Yam <alex@alexyam.com>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=gf2x
pkgver=1.3.0
pkgrel=1
pkgdesc="library for multiplying polynomials over the binary field"
url="https://gitlab.inria.fr/gf2x/gf2x/"
arch="all"
license="GPL-3.0-or-later"
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
source="https://gitlab.inria.fr/gf2x/gf2x/-/archive/gf2x-$pkgver/gf2x-gf2x-$pkgver.tar.bz2
gcc14.patch
"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
prepare() {
default_prepare
update_config_guess
update_config_sub
autoreconf -i
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-fft-interface
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
2872d8ddeb1fd3966f8711573d6c090975fcd9acfa302f7537ebfa3350e83af224bfd18a33ea1106d81ab900c96413e413c04ba506d8bf928bb92b670c24d857 gf2x-gf2x-1.3.0.tar.bz2
2ca5c8c22eedda1b2e0d39927de922ccc152b924ae4e140f147a7883386cc65ef57fc369b246ed6d8ae6fc52d118554a1b7ee1a04385fd2e956aef3ae668b345 gcc14.patch
"