aboutsummaryrefslogtreecommitdiffstats
path: root/community/rng-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rng-tools/APKBUILD')
-rw-r--r--community/rng-tools/APKBUILD25
1 files changed, 8 insertions, 17 deletions
diff --git a/community/rng-tools/APKBUILD b/community/rng-tools/APKBUILD
index 3a4c75a18d..0169a9a95c 100644
--- a/community/rng-tools/APKBUILD
+++ b/community/rng-tools/APKBUILD
@@ -3,24 +3,22 @@
pkgname=rng-tools
pkgver=5
pkgrel=3
-pkgdesc="a random number generator daemon"
+pkgdesc="A random number generator daemon"
url="https://sourceforge.net/projects/gkernel/"
arch="all"
-license="GPL-2.0"
-depends=""
-depends_dev=""
+license="GPL-2.0-or-later"
makedepends="argp-standalone linux-headers"
-install=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/gkernel/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
fix-textrels-on-PIC-x86.patch
rngd.confd
rngd.initd
"
+builddir="$srcdir/$pkgname-$pkgver"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
+
export LIBS="-largp"
./configure \
--prefix=/usr \
@@ -32,20 +30,13 @@ build() {
package() {
cd "$builddir"
- make DESTDIR="${pkgdir}" install
- install -m644 -D "${srcdir}/rngd.confd" "${pkgdir}/etc/conf.d/rngd" || return 1
- install -m755 -D "${srcdir}/rngd.initd" "${pkgdir}/etc/init.d/rngd" || return 1
+ make DESTDIR="$pkgdir" install
+
+ install -m 644 -D "$srcdir"/rngd.confd "$pkgdir"/etc/conf.d/rngd
+ install -m 755 -D "$srcdir"/rngd.initd "$pkgdir"/etc/init.d/rngd
}
-md5sums="6726cdc6fae1f5122463f24ae980dd68 rng-tools-5.tar.gz
-327ecc26d50a4a93f8cdec4a24fa837c fix-textrels-on-PIC-x86.patch
-2652d9515601d09291f66f8c352d3034 rngd.confd
-e0dbde536f506707cb11594fc947607d rngd.initd"
-sha256sums="60a102b6603bbcce2da341470cad42eeaa9564a16b4490e7867026ca11a3078e rng-tools-5.tar.gz
-15072f76a7198859a08de56fc6c438a1c393a31e4a119200a7c8c63c5b15f0b6 fix-textrels-on-PIC-x86.patch
-bcd519614980323554c1db08aea876dff4f0f1cee10e86d4826443aaa81b489d rngd.confd
-7ccc1b605a7a861bed8b032010aaad4d745b2e8a8d1800840e1f7063f128599c rngd.initd"
sha512sums="58047c37cad4f5f1210b696e4dba122878f78e57d05d9cb822f79234240ecce31efd2d39061fea1eb5b2e81d48d8c3bf6b92d06451f1ce5d5db7117704e89c50 rng-tools-5.tar.gz
5c8196c3e70c093215fc0720cd3f58f339f74293a7eb35d95b914591d783472119dcc34fb27ab6a4c3ce5359e050b4987d1e7ddf213a7445fc0b70d9fae5eae5 fix-textrels-on-PIC-x86.patch
ce82f583ab06580f038f17d4ecc84655cfc001abf344f9a50d12b8c1a5a6c4b74c386fbbc8b130201e4c34a7d99da75a4e64bcc41b2aebd381e74a352b5531c4 rngd.confd