35 lines
934 B
Bash
35 lines
934 B
Bash
# Template file for 'nettle'
|
|
pkgname=nettle
|
|
version=3.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-shared"
|
|
hostmakedepends="m4 texinfo"
|
|
makedepends="gmp-devel"
|
|
short_desc="Low-level cryptographic library"
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
license="GPL-2.0-or-later, GPL-3.0-or-later"
|
|
homepage="https://www.lysator.liu.se/~nisse/nettle/"
|
|
changelog="https://git.lysator.liu.se/nettle/nettle/-/raw/master/NEWS"
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=7576c68481c198f644b08c160d1a4850ba9449e308069455b5213319f234e8e6
|
|
|
|
nettle-devel_package() {
|
|
depends="gmp-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/info
|
|
}
|
|
}
|
|
|
|
nettle-tools_package() {
|
|
short_desc+=" - bundled tools"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
}
|
|
}
|