mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 18:59:17 +02:00
41 lines
1.5 KiB
Text
41 lines
1.5 KiB
Text
# Maintainer: Daniel Gray <dngray@polarbear.army>
|
|
pkgname=infnoise
|
|
pkgver=0.3.3
|
|
pkgrel=0
|
|
pkgdesc="Infinite Noise TRNG"
|
|
url="https://github.com/leetronics/infnoise"
|
|
arch="all"
|
|
license="CC0-1.0"
|
|
makedepends="libftdi1-dev linux-headers"
|
|
options="!check" # no tests
|
|
subpackages="libinfnoise
|
|
$pkgname-openrc
|
|
$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/leetronics/infnoise/archive/$pkgver.tar.gz
|
|
infnoise.confd
|
|
0001-Change-path-to-usr-bin.patch
|
|
0002-Separate-init-install-script.patch"
|
|
|
|
build() {
|
|
make -C software -f Makefile.linux
|
|
make -C software/tools all
|
|
}
|
|
|
|
package() {
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
|
|
make -C software -f Makefile.linux DESTDIR="$pkgdir" PREFIX="$pkgdir"/usr install install-lib install-openrc
|
|
}
|
|
|
|
libinfnoise() {
|
|
pkgdesc="Infinite Noise TRNG library"
|
|
amove \
|
|
usr/include/libinfnoise.h \
|
|
usr/lib/libinfnoise.so
|
|
}
|
|
|
|
sha512sums="
|
|
dd3cdaa122c494b6fd26439c490dca47e431926ea52b5d2b302d345fb53fce5ed4ea4d54b4b8b0487b244e6673cbd22cafaa9b37b97733b90b86b8aa949fa6d3 infnoise-0.3.3.tar.gz
|
|
3797a775e0466e123d4603e13edb649cbbfe01d7f36aa62baef9493bfc0280c43f5dac52edcfe355cae17d92373dad5b802960fffa2e8ee2bee4d14efabb8b48 infnoise.confd
|
|
882188ec6991d32535d7047a88ec0c14b278ea6d6d1cb050820f61771f21cc217c5ea3d209e93b6134c4136a893f3e683fed138893fef636d655f2c6a4ed5aa7 0001-Change-path-to-usr-bin.patch
|
|
49a1bd973050a04899a80468f7e0beb4c2796df4486a0807644d8a3a5a301d5dab3664605933e2432e6dfefc92356c5c14291261e93e9ce736b58390b1a2091b 0002-Separate-init-install-script.patch
|
|
"
|