blob: cc97c89a9ed109fe5cde837fa23c6817203450d3 (
plain) (
tree)
|
|
# Contributor: Przemyslaw Pawelczyk <przemoc@zoho.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rhash
pkgver=1.3.9
pkgrel=0
pkgdesc="Utility for calculation and verification of hash sums and magnet links"
url="http://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="6fae0587cdeb42df59d542c58bad734259d1ff39fba92531c10a469b51310644669ffbe0453e72d85c2cf38b176962f6dca9062a121ac019f1b30f207a176e60 rhash-1.3.9.tar.gz"
|