blob: c587565094115d63e4e4edf5aba1747d41dead01 (
plain) (
tree)
|
|
# Contributor: Przemyslaw Pawelczyk <przemoc@zoho.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rhash
pkgver=1.4.3
pkgrel=0
pkgdesc="Utility for calculation and verification of hash sums and magnet links"
url="https://rhash.sourceforge.net/"
arch="all"
license="MIT"
depends=""
makedepends="openssl-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz"
builddir="$srcdir/RHash-$pkgver"
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-lib-shared \
--disable-lib-static \
--enable-openssl
make
}
check() {
make test
}
package() {
make -j1 DESTDIR="$pkgdir" install install-gmo install-lib-headers install-lib-so-link install-man
}
sha512sums="d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7 rhash-1.4.3.tar.gz"
|